158602 Commits

Author SHA1 Message Date
Michael Wright
8d4a436713 am ab567cd1: Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev
* commit 'ab567cd1431678b9882897e90e83a3ebbf656588':
  Correctly propagate SW_CAMERA_LENS_COVER_BIT
2014-09-14 18:34:58 +00:00
Dan Sandler
e75aaa48f4 am f80dc726: am 38ee4372: am 34c08655: Merge "Customized ripple animation for navigation bar" into lmp-dev
* commit 'f80dc7266db5a8bcf1da6ad6585cfb85cf75e4bc':
  Customized ripple animation for navigation bar
2014-09-14 18:27:33 +00:00
Craig Mautner
4c3793662d am b53a8c2a: am 11cb403d: Merge "Add null checks for quickly disappearing Displays" into lmp-dev
* commit 'b53a8c2a713c10f9948b0353dd53cb67a6b4fe56':
  Add null checks for quickly disappearing Displays
2014-09-14 18:26:16 +00:00
Michael Wright
645df3e3e4 Merge "Correctly propagate SW_CAMERA_LENS_COVER_BIT" into lmp-dev 2014-09-14 18:19:50 +00:00
Dan Sandler
525f83c24a am 38ee4372: am 34c08655: Merge "Customized ripple animation for navigation bar" into lmp-dev
* commit '38ee43721a38146ebe1e6da268373ae783283662':
  Customized ripple animation for navigation bar
2014-09-14 18:11:50 +00:00
Craig Mautner
928239a929 am 11cb403d: Merge "Add null checks for quickly disappearing Displays" into lmp-dev
* commit '11cb403dd066e4de527e3c6079b3def6d3bc82bd':
  Add null checks for quickly disappearing Displays
2014-09-14 18:11:44 +00:00
Jae Seo
84f839d0f2 am 747b198c: am c3bfd9bd: am c07446f2: TIF: Turn debugging off
* commit '747b198cfff6b9813bdb385e7fc370efce5e747a':
  TIF: Turn debugging off
2014-09-14 18:11:44 +00:00
John Spurlock
8d4e6cb060 Saver: PowerManager call to set low power mode.
- Add an explicit power manager call to set the low power mode state,
  instead of trying manage everything around a single setting.
- When low-power mode is triggered by falling below the configured
  threshold, it does not update the setting.
- The "is-enabled" api returns setting || below configured trigger.
- Move the snooze management into the new api call.
- Callers (sysui + settings) updated to use the api instead of the
  setting.
- Handles the case where the level does an unpowered leap out of the
  low battery level. (Possible if powered in-between while the device
  is off)

Bug:17460535
Change-Id: Ic030504c9cad9868a7137abbe837b170da37852b
2014-09-14 14:07:23 -04:00
Craig Mautner
f1f886f3ae Merge "Add null checks for quickly disappearing Displays" into lmp-dev 2014-09-14 18:01:40 +00:00
Dan Sandler
9f5d4c4335 am 34c08655: Merge "Customized ripple animation for navigation bar" into lmp-dev
* commit '34c08655610018a0625fb6583df0e19a9c7f63dd':
  Customized ripple animation for navigation bar
2014-09-14 17:55:33 +00:00
Jae Seo
4a9219ac1c am c3bfd9bd: am c07446f2: TIF: Turn debugging off
* commit 'c3bfd9bde6286f164c1d68997527ff85978fb2f2':
  TIF: Turn debugging off
2014-09-14 17:55:24 +00:00
Dan Sandler
ca68f2ca45 Merge "Customized ripple animation for navigation bar" into lmp-dev 2014-09-14 17:44:33 +00:00
Christopher Lane
dfa2497759 am e34c80bc: am 614c653b: am 1fdb5100: Merge "Handle null values in registerService" into lmp-dev
* commit 'e34c80bc53c04efebf552e16e1f7ee30bd09c141':
  Handle null values in registerService
2014-09-14 17:39:46 +00:00
Yorke Lee
4a19862413 am 5916e775: am 952a2f89: am f3804c3c: Pipe TelephonyManager.getCallState through TelecommManager
* commit '5916e7752da2ffa29d056ba446f88daf7d1356f0':
  Pipe TelephonyManager.getCallState through TelecommManager
2014-09-14 17:39:41 +00:00
Jae Seo
c55e799e8b am c07446f2: TIF: Turn debugging off
* commit 'c07446f288e0dbf7f88b3254918817529910e6a0':
  TIF: Turn debugging off
2014-09-14 17:39:25 +00:00
Michael Wright
9e10d25732 Correctly propagate SW_CAMERA_LENS_COVER_BIT
Bug: 16034563
Change-Id: I3402d42056cda47fddadd09f838b1082d93fb00d
2014-09-14 17:30:52 +00:00
Jae Seo
ee2ec05ed7 TIF: Turn debugging off
Bug: 17476383
Change-Id: I28ff54a635bf6468c231efe776dbc8e35460d542
2014-09-14 10:30:05 -07:00
Christopher Lane
e8b7802600 am 614c653b: am 1fdb5100: Merge "Handle null values in registerService" into lmp-dev
* commit '614c653b7a2da14ded7d9c95142a5afd0b4d4722':
  Handle null values in registerService
2014-09-14 17:25:44 +00:00
Yorke Lee
ace7ff77d5 am 952a2f89: am f3804c3c: Pipe TelephonyManager.getCallState through TelecommManager
* commit '952a2f8920591a7699ebe0fe06f00a856f523ab2':
  Pipe TelephonyManager.getCallState through TelecommManager
2014-09-14 17:25:38 +00:00
Christopher Lane
d50cc4e1cf am 1fdb5100: Merge "Handle null values in registerService" into lmp-dev
* commit '1fdb5100feab055ca9e52ee766d4477a188e78a3':
  Handle null values in registerService
2014-09-14 17:10:18 +00:00
Yorke Lee
26249f4e92 am f3804c3c: Pipe TelephonyManager.getCallState through TelecommManager
* commit 'f3804c3cfa39d63b84d88edce098d17eed9780c8':
  Pipe TelephonyManager.getCallState through TelecommManager
2014-09-14 17:10:13 +00:00
Shawn Willden
dc8bc1160c Correct test data size in keystore signing and verification tests.
The test is sending too much data to be signed, which should actually
fail, and does on Volantis.  Apparently the other keymaster implementors
do something to pass it, because shamu and hammerhead pass, but the test
is wrong.

Change-Id: Ic616a551567d64f5d87d9607ceb08afa7be74f9d
2014-09-14 17:09:47 +00:00
Christopher Lane
07ab0871ee Merge "Handle null values in registerService" into lmp-dev 2014-09-14 17:06:46 +00:00
Yorke Lee
2ae312e306 Pipe TelephonyManager.getCallState through TelecommManager
* Add TelecommManager.getCallState (hidden API)
* Make TelephonyManager.getCallState call through to
TelecommManager, to be consistent with
TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcasts for
overall call state. Telephony continues to manage call states for
individual subscriptions.

Bug: 17378767
Change-Id: Ia5e8b21df801ed3af4f6e14c110a72c92f077f88
2014-09-14 09:54:23 -07:00
Jing Ji
a0e0c0dfad Fix creation issue of stack trace dump directory
Use the dirname instead of the filename to create the directory

Change-Id: I16e49303b2ff5e2592ed60eab766db32d02262fe
2014-09-14 09:45:30 -07:00
Xin Guan
5ec679a0fa Fix crash in TranserPipe.
Sometimes the pipe has been closed when it's thread tries to access

E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: TransferPipe
E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.FileDescriptor android.os.ParcelFileDescriptor.getFileDescriptor()' on a null object reference
E AndroidRuntime: 	at com.android.internal.os.TransferPipe.run(TransferPipe.java:184)
E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:818)

Change-Id: I0fcd4a3334b49972903f2cb0edb51323ba3f49e5
2014-09-14 09:34:40 -07:00
Jorim Jaggi
416493bf66 Fix jank while unlocking and security is set
- Delay showing the bouncer and playing the entrance animation for a
  couple of frames.
- Do not disable back button on the normal Keyguard. This makes the
  entrance animation nicer and fixes some jank due to the need to
  draw into both windows.
- Prevent setPadding(...) call when nothing changes. setPadding would
  invalidate the padding for the whole view hierarchy, which results
  in a slower measure() when setting the window to invisible.

Bug: 17419960
Change-Id: I4a239d4af40ad86875e4a0dd08473f19a5c9b961
2014-09-14 18:04:15 +02:00
Yohei Yukawa
84d4957f24 am e3651c4b: am 08c9101b: am a22e2ab6: Merge "Minimize the number of default enabled IMEs part 2" into lmp-dev
* commit 'e3651c4b4e96d1c3a6ea6d112183971cd07ce180':
  Minimize the number of default enabled IMEs part 2
2014-09-14 10:39:16 +00:00
Winson Chung
16093b998e am 7592640b: am 2791e99c: am a2e66053: Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev
* commit '7592640b9c579bfab47bf07dfb590bf9ac106a68':
  Adding null check for invalid recents task list. (Bug 17476926)
2014-09-14 10:39:10 +00:00
Winson Chung
ad2e8e8e11 am 1b133ca8: am 6c1865dd: am 0973117b: Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev
* commit '1b133ca85631c1ce89216241008c1648b1f53d10':
  Fixing issue with stack not being fully centered. (Bug 17015153)
2014-09-14 10:39:05 +00:00
Qiwen Zhao
5b9ff81225 am 309dc803: am 55311cba: am 7ca4682e: Merge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""" into lmp-dev
* commit '309dc8039b9d1e8ad59d4cf77a9a6dd7123ced8f':
  GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""
2014-09-14 10:38:57 +00:00
Yohei Yukawa
c496a26f7c am 08c9101b: am a22e2ab6: Merge "Minimize the number of default enabled IMEs part 2" into lmp-dev
* commit '08c9101b87199552b3a372c3fedbb9e6886e307b':
  Minimize the number of default enabled IMEs part 2
2014-09-14 10:25:04 +00:00
Winson Chung
8d81f3faf5 am 2791e99c: am a2e66053: Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev
* commit '2791e99ceae78c177b0fddbdd02aea18f68a500c':
  Adding null check for invalid recents task list. (Bug 17476926)
2014-09-14 10:24:59 +00:00
Winson Chung
33de8f28e9 am 6c1865dd: am 0973117b: Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev
* commit '6c1865dd43c8c4475d77416a16f0da505a736409':
  Fixing issue with stack not being fully centered. (Bug 17015153)
2014-09-14 10:24:54 +00:00
Qiwen Zhao
8871a037d5 am 55311cba: am 7ca4682e: Merge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""" into lmp-dev
* commit '55311cba6f172de942b291996d56b65542e04c13':
  GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""
2014-09-14 10:24:48 +00:00
Yohei Yukawa
092c4e9327 am a22e2ab6: Merge "Minimize the number of default enabled IMEs part 2" into lmp-dev
* commit 'a22e2ab64c1629e8d8a60ce5e2ccc034714f1365':
  Minimize the number of default enabled IMEs part 2
2014-09-14 10:10:46 +00:00
Winson Chung
2bbc52205a am a2e66053: Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev
* commit 'a2e66053456b4728997eff047515487ef20d87ec':
  Adding null check for invalid recents task list. (Bug 17476926)
2014-09-14 10:10:41 +00:00
Winson Chung
9d06d4da5d am 0973117b: Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev
* commit '0973117bd59659ddd4151d332fd61e64ca5b1b2f':
  Fixing issue with stack not being fully centered. (Bug 17015153)
2014-09-14 10:10:37 +00:00
Qiwen Zhao
5d224ddaa1 am 7ca4682e: Merge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""" into lmp-dev
* commit '7ca4682e2d4b256b62edca558a6f3a2494d0dcd4':
  GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""
2014-09-14 10:10:29 +00:00
Yohei Yukawa
c68f27625b Merge "Minimize the number of default enabled IMEs part 2" into lmp-dev 2014-09-14 07:48:27 +00:00
Winson Chung
ba3306fc47 Merge "Adding null check for invalid recents task list. (Bug 17476926)" into lmp-dev 2014-09-14 07:12:40 +00:00
Winson Chung
625f055958 Merge "Fixing issue with stack not being fully centered. (Bug 17015153)" into lmp-dev 2014-09-14 07:12:29 +00:00
Christian Robertson
42310965fa Customized ripple animation for navigation bar
To implement the new gel-cap shaped ripple I resurrected the
onDraw and setPressed methods from the KitKat implementation.
The KitKat animation timings were adjusted to match the material
ripple, but the structure of the animators is the same as KitKat.

Since the new ripple is drawn directly to the canvas, the references
to the KitKat background image were removed.

The LogInterpolator is copied from the framework Ripple
to match the material animation curves.

Bug: 17112935
Change-Id: If6a3eb92de794b526338166bf8cb096eb9764cf6
2014-09-14 02:15:19 -04:00
Yohei Yukawa
68c860bb29 Minimize the number of default enabled IMEs part 2
Previously the system tried to enable at least one auxiliary IME
even when the system is not ready.  However, this doesn't make
much sense because the user should be able to set up their phone
without auxiliary IMEs. Also, IMEs enabled before the system
becomes ready are kept to be enabled after the system becomes
ready. Thus, we should minimize the number of enabled IMEs
until the system becomes ready.

BUG: 17347871
Change-Id: Ife93d909fb8a24471c425c903e2b7048826e17a3
2014-09-14 13:47:33 +09:00
Qiwen Zhao
a11757c187 Merge "GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""" into lmp-dev 2014-09-14 02:53:32 +00:00
Qiwen Zhao
63c7444bab GMSCore and Finsky are fixed. Revert "Revert "Set up final resource identifiers.""
This reverts commit c4bc83b7b5f7911bf750544aa8a2211ae6d11fe2.

Change-Id: I484953c5c3b130b3359ef47aca890fa6903917a6
2014-09-14 02:53:04 +00:00
Alan Viverette
8b5b25b448 Reduce instructions required to obtain and recycle TypedArray
Eliminates several field and method accesses by making the TypedArray
pool local to a single Resources object. Removes an unnecessary
synchronization.

ReadXmlAttrs averaged 0.069 ms/op before, 0.064 ms/op after.

BUG: 17484798
Change-Id: If790a5ba6596b47a04f117c8912974798a592052
2014-09-13 19:30:11 -07:00
Adam Lesinski
97303fea27 am ae2fbe06: am 09c04b45: am 93f13b6a: Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev
* commit 'ae2fbe065bddb685d038538dcbad9a6979020920':
  Fix issue with lifecycle of Activities launched from Lockscreen
2014-09-13 23:49:37 +00:00
Adam Lesinski
0176a39cca am 09c04b45: am 93f13b6a: Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev
* commit '09c04b454a8456395f68c7d0e5b5dde1187a80d3':
  Fix issue with lifecycle of Activities launched from Lockscreen
2014-09-13 23:40:20 +00:00
Adam Lesinski
c8035614fb am 93f13b6a: Merge "Fix issue with lifecycle of Activities launched from Lockscreen" into lmp-dev
* commit '93f13b6af86c55d4a489d26580be938ab1fe366d':
  Fix issue with lifecycle of Activities launched from Lockscreen
2014-09-13 23:25:37 +00:00