OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 645edef4: Merge "Make sure the app can draw a frame before unlocking" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 22:23:58 +0000 (22:23 +0000)]
am 645edef4: Merge "Make sure the app can draw a frame before unlocking" into mnc-dev

* commit '645edef4834c2911386b659cc775840fb7479e01':
  Make sure the app can draw a frame before unlocking

9 years agoam 4d0f2afd: Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name...
Junda Liu [Wed, 13 May 2015 22:23:54 +0000 (22:23 +0000)]
am 4d0f2afd: Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense." into mnc-dev

* commit '4d0f2afdc4332c28193d2d57a11f260150b0b4b3':
  Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.

9 years agoam 5ad7fe49: Merge "Update IME focus when the active view is losing the focus." into...
Yohei Yukawa [Wed, 13 May 2015 22:23:50 +0000 (22:23 +0000)]
am 5ad7fe49: Merge "Update IME focus when the active view is losing the focus." into mnc-dev

* commit '5ad7fe4930b5566836debffc8976802c186b6ee3':
  Update IME focus when the active view is losing the focus.

9 years agoam 07e02b6d: Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name...
Junda Liu [Wed, 13 May 2015 22:23:46 +0000 (22:23 +0000)]
am 07e02b6d: Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense." into mnc-dev

* commit '07e02b6d25f5a731a36ad49b482e35c14c97cbdc':
  Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.

9 years agoam 7b1b3613: Merge "Address API council feedback for setOffscreenPreRaster." into...
Hui Shu [Wed, 13 May 2015 22:23:42 +0000 (22:23 +0000)]
am 7b1b3613: Merge "Address API council feedback for setOffscreenPreRaster." into mnc-dev

* commit '7b1b3613b9b927606254429acc811dd9bfeeebff':
  Address API council feedback for setOffscreenPreRaster.

9 years agoMerge "Make sure the app can draw a frame before unlocking" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 22:13:26 +0000 (22:13 +0000)]
Merge "Make sure the app can draw a frame before unlocking" into mnc-dev

9 years agoMerge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense...
Junda Liu [Wed, 13 May 2015 22:13:23 +0000 (22:13 +0000)]
Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense." into mnc-dev

9 years agoRename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.
Junda Liu [Wed, 13 May 2015 22:11:10 +0000 (15:11 -0700)]
Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.

Bug: b/21028396
Change-Id: I4905a1d1db247955ae7fa00a7f5ddfd7337ba5a8

9 years agoMerge "Update IME focus when the active view is losing the focus." into mnc-dev
Yohei Yukawa [Wed, 13 May 2015 22:10:33 +0000 (22:10 +0000)]
Merge "Update IME focus when the active view is losing the focus." into mnc-dev

9 years agoMerge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense...
Junda Liu [Wed, 13 May 2015 22:09:20 +0000 (22:09 +0000)]
Merge "Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense." into mnc-dev

9 years agoMerge "Address API council feedback for setOffscreenPreRaster." into mnc-dev
Hui Shu [Wed, 13 May 2015 22:07:54 +0000 (22:07 +0000)]
Merge "Address API council feedback for setOffscreenPreRaster." into mnc-dev

9 years agoam b731c3d9: Add null annotations for getting carrier config.
Jonathan Basseri [Wed, 13 May 2015 22:07:14 +0000 (22:07 +0000)]
am b731c3d9: Add null annotations for getting carrier config.

* commit 'b731c3d944ccf46b7d0115f63b63eee5ab8abf1a':
  Add null annotations for getting carrier config.

9 years agoam 78250907: Merge "Add phone account field for voicemail to distinguish the source...
Nancy Chen [Wed, 13 May 2015 22:07:09 +0000 (22:07 +0000)]
am 78250907: Merge "Add phone account field for voicemail to distinguish the source." into mnc-dev

* commit '782509076bf4ca155865c465985a458e83d9b577':
  Add phone account field for voicemail to distinguish the source.

9 years agoAdd null annotations for getting carrier config.
Jonathan Basseri [Tue, 5 May 2015 19:00:59 +0000 (12:00 -0700)]
Add null annotations for getting carrier config.

CarrierConfigManager can return null Bundles for carrier config, but
never returns null when getting default values. Add the appropriate
annotations.

Change-Id: Iffbed3b54ca7cc28cf8b04f133aacdf9e6e4fd20

9 years agoRename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.
Junda Liu [Wed, 13 May 2015 21:57:48 +0000 (14:57 -0700)]
Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.

Bug: b/21028396
Change-Id: I029671b6bcd03a07956ccf35f4e5fe03d16a2218

9 years agoMerge "Add phone account field for voicemail to distinguish the source." into mnc-dev
Nancy Chen [Wed, 13 May 2015 21:54:47 +0000 (21:54 +0000)]
Merge "Add phone account field for voicemail to distinguish the source." into mnc-dev

9 years agoam ae649b1a: Merge "TIF: API Review: android.media.tv" into mnc-dev
Jae Seo [Wed, 13 May 2015 21:52:20 +0000 (21:52 +0000)]
am ae649b1a: Merge "TIF: API Review: android.media.tv" into mnc-dev

* commit 'ae649b1af86f0464cea073125103e45d1bd40fc8':
  TIF: API Review: android.media.tv

9 years agoam 4f4855bc: Merge "Use drawableStart in dialog list item so we can set padding"...
Alan Viverette [Wed, 13 May 2015 21:52:16 +0000 (21:52 +0000)]
am 4f4855bc: Merge "Use drawableStart in dialog list item so we can set padding" into mnc-dev

* commit '4f4855bca8597e79aad950de7974a8d552952571':
  Use drawableStart in dialog list item so we can set padding

9 years agoam 4ee67bc7: Merge "AAPT2: Fix issue where @null was wrongly encoded" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:52:12 +0000 (21:52 +0000)]
am 4ee67bc7: Merge "AAPT2: Fix issue where @null was wrongly encoded" into mnc-dev

* commit '4ee67bc7a7bb84da1c92dc08427f9737ff8252d6':
  AAPT2: Fix issue where @null was wrongly encoded

9 years agoam ae8fcaf4: Merge "Use platform delay for assist long press gesture" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 21:45:13 +0000 (21:45 +0000)]
am ae8fcaf4: Merge "Use platform delay for assist long press gesture" into mnc-dev

* commit 'ae8fcaf4c320dbf68db7dc032269692806150d99':
  Use platform delay for assist long press gesture

9 years agoam 45fefaef: Merge "AAPT2: Debug: Dump only targetted style" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:45:09 +0000 (21:45 +0000)]
am 45fefaef: Merge "AAPT2: Debug: Dump only targetted style" into mnc-dev

* commit '45fefaef008c16af42256fb2d8eab183245d030d':
  AAPT2: Debug: Dump only targetted style

9 years agoam 68727a0b: Merge "AAPT2: inferred style parent processing" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:45:04 +0000 (21:45 +0000)]
am 68727a0b: Merge "AAPT2: inferred style parent processing" into mnc-dev

* commit '68727a0b2074d6a9c03cff967c28da069deedae3':
  AAPT2: inferred style parent processing

9 years agoam 79e04686: Merge "AAPT2: Support static lib referencing static lib" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:45:00 +0000 (21:45 +0000)]
am 79e04686: Merge "AAPT2: Support static lib referencing static lib" into mnc-dev

* commit '79e04686f6b57ce3a5adf415212c592ad4c6d605':
  AAPT2: Support static lib referencing static lib

9 years agoam 87cca291: Merge "New AndroidKeyStore API in android.security.keystore." into mnc-dev
Alex Klyubin [Wed, 13 May 2015 21:44:55 +0000 (21:44 +0000)]
am 87cca291: Merge "New AndroidKeyStore API in android.security.keystore." into mnc-dev

* commit '87cca291bd70100522b62a28e7e6e433fcd49cc2':
  New AndroidKeyStore API in android.security.keystore.

9 years agoMerge "TIF: API Review: android.media.tv" into mnc-dev
Jae Seo [Wed, 13 May 2015 21:43:47 +0000 (21:43 +0000)]
Merge "TIF: API Review: android.media.tv" into mnc-dev

9 years agoMerge "Use drawableStart in dialog list item so we can set padding" into mnc-dev
Alan Viverette [Wed, 13 May 2015 21:43:12 +0000 (21:43 +0000)]
Merge "Use drawableStart in dialog list item so we can set padding" into mnc-dev

9 years agoMerge "AAPT2: Fix issue where @null was wrongly encoded" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:42:57 +0000 (21:42 +0000)]
Merge "AAPT2: Fix issue where @null was wrongly encoded" into mnc-dev

9 years agoMerge "Use platform delay for assist long press gesture" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 21:42:14 +0000 (21:42 +0000)]
Merge "Use platform delay for assist long press gesture" into mnc-dev

9 years agoMerge "AAPT2: Debug: Dump only targetted style" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:41:38 +0000 (21:41 +0000)]
Merge "AAPT2: Debug: Dump only targetted style" into mnc-dev

9 years agoMerge "AAPT2: inferred style parent processing" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:40:06 +0000 (21:40 +0000)]
Merge "AAPT2: inferred style parent processing" into mnc-dev

9 years agoMerge "AAPT2: Support static lib referencing static lib" into mnc-dev
Adam Lesinski [Wed, 13 May 2015 21:38:01 +0000 (21:38 +0000)]
Merge "AAPT2: Support static lib referencing static lib" into mnc-dev

9 years agoMerge "New AndroidKeyStore API in android.security.keystore." into mnc-dev
Alex Klyubin [Wed, 13 May 2015 21:33:36 +0000 (21:33 +0000)]
Merge "New AndroidKeyStore API in android.security.keystore." into mnc-dev

9 years agoMake sure the app can draw a frame before unlocking
Jorim Jaggi [Thu, 7 May 2015 18:41:41 +0000 (11:41 -0700)]
Make sure the app can draw a frame before unlocking

- The mechanism to stop windows drawing while window animator was
animating was somehow flaky. It relied on the fact that the client
would call relayout() whenever the animating state changed. This is
mostly the case, but not for lockscreen animations. Instead, we now
use a push model, where window manager tells the app that the state
has changed.
- In addition, it only stopped drawing if that window was animating,
but then only resumed drawing after all windows have finished
animating. Now, we do this per window, so we only stop drawing for
windows that are currently animating.
- We resume the top activity now at the very beginning of the
unlocking sequence. This gives the app a chance to draw a frame
before the user sees anything. If it's to slow, then we just use the
outdated framebuffer.

Bug: 19964562
Change-Id: Ifef8abd189a3146d854b81b9b948861e4d38c155

9 years agoam 467eb056: Merge "Allowing profile to set a subset of keyguard restrictions." into...
Kenny Guy [Wed, 13 May 2015 21:20:01 +0000 (21:20 +0000)]
am 467eb056: Merge "Allowing profile to set a subset of keyguard restrictions." into mnc-dev

* commit '467eb0566ff1df320c9a9be3da0f44ee3d6bc9fa':
  Allowing profile to set a subset of keyguard restrictions.

9 years agoam d7fd0450: Merge "Add default icon for permissions" into mnc-dev
Jason Monk [Wed, 13 May 2015 21:19:57 +0000 (21:19 +0000)]
am d7fd0450: Merge "Add default icon for permissions" into mnc-dev

* commit 'd7fd045014b746a9822a66390288f44b63e4dc2f':
  Add default icon for permissions

9 years agoUse platform delay for assist long press gesture
Jorim Jaggi [Wed, 13 May 2015 21:17:16 +0000 (14:17 -0700)]
Use platform delay for assist long press gesture

Bug: 20853645
Change-Id: I1f25a04bfc7d07077211743b9d258fd637a402e6

9 years agoMerge "Allowing profile to set a subset of keyguard restrictions." into mnc-dev
Kenny Guy [Wed, 13 May 2015 21:07:15 +0000 (21:07 +0000)]
Merge "Allowing profile to set a subset of keyguard restrictions." into mnc-dev

9 years agoMerge "Add default icon for permissions" into mnc-dev
Jason Monk [Wed, 13 May 2015 21:06:28 +0000 (21:06 +0000)]
Merge "Add default icon for permissions" into mnc-dev

9 years agoam c968e219: Merge "Determine if we have adoptable disks." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 20:59:52 +0000 (20:59 +0000)]
am c968e219: Merge "Determine if we have adoptable disks." into mnc-dev

* commit 'c968e219372e140e2ae34f9b1e91597ccb719381':
  Determine if we have adoptable disks.

9 years agoam d6acd422: Merge "Revert "Anti-alias by default"" into mnc-dev
Chris Craik [Wed, 13 May 2015 20:59:46 +0000 (20:59 +0000)]
am d6acd422: Merge "Revert "Anti-alias by default"" into mnc-dev

* commit 'd6acd422aff35bc7cb8ab46fa422a4be7fffd026':
  Revert "Anti-alias by default"

9 years agoMerge "Determine if we have adoptable disks." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 20:57:01 +0000 (20:57 +0000)]
Merge "Determine if we have adoptable disks." into mnc-dev

9 years agoDetermine if we have adoptable disks.
Jeff Sharkey [Wed, 13 May 2015 20:54:30 +0000 (13:54 -0700)]
Determine if we have adoptable disks.

Bug: 19993667
Change-Id: I9b21b05736c22d34ca22f5ad6e1a6ebec440cfb6

9 years agoam 74a727d0: Merge "Anti-Alias ColorDrawable" into mnc-dev
Chris Craik [Wed, 13 May 2015 20:49:06 +0000 (20:49 +0000)]
am 74a727d0: Merge "Anti-Alias ColorDrawable" into mnc-dev

* commit '74a727d06100c7fb9bc3f4d0a1e1b29151172b58':
  Anti-Alias ColorDrawable

9 years agoam bc2c21e2: Merge "Volume: Update divider color to match qs tile divider color....
John Spurlock [Wed, 13 May 2015 20:48:58 +0000 (20:48 +0000)]
am bc2c21e2: Merge "Volume: Update divider color to match qs tile divider color." into mnc-dev

* commit 'bc2c21e2922e6b3441bb4f80caed4328af5993af':
  Volume: Update divider color to match qs tile divider color.

9 years agoam 765e1592: Merge "Volume: Use inactive slider tints when disabled." into mnc-dev
John Spurlock [Wed, 13 May 2015 20:48:54 +0000 (20:48 +0000)]
am 765e1592: Merge "Volume: Use inactive slider tints when disabled." into mnc-dev

* commit '765e1592b15025d86b050e35519f975862582b8f':
  Volume: Use inactive slider tints when disabled.

9 years agoMerge "Revert "Anti-alias by default"" into mnc-dev
Chris Craik [Wed, 13 May 2015 20:47:46 +0000 (20:47 +0000)]
Merge "Revert "Anti-alias by default"" into mnc-dev

9 years agoMerge "Anti-Alias ColorDrawable" into mnc-dev
Chris Craik [Wed, 13 May 2015 20:44:48 +0000 (20:44 +0000)]
Merge "Anti-Alias ColorDrawable" into mnc-dev

9 years agoRevert "Anti-alias by default"
Chris Craik [Wed, 13 May 2015 20:09:50 +0000 (13:09 -0700)]
Revert "Anti-alias by default"

bug:20948129

Keep HIDDEN_DEFAULT_PAINT_FLAGS name.

This reverts commit 1b60cc0529161b5eca6407b551d67d355994c567.

Change-Id: I97cd9c556375c74c52b006bda4fc7b3a2cfa89e1

9 years agoMerge "Volume: Update divider color to match qs tile divider color." into mnc-dev
John Spurlock [Wed, 13 May 2015 20:39:54 +0000 (20:39 +0000)]
Merge "Volume: Update divider color to match qs tile divider color." into mnc-dev

9 years agoam 131a19ee: Merge "Persist fingerprint names" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 20:35:55 +0000 (20:35 +0000)]
am 131a19ee: Merge "Persist fingerprint names" into mnc-dev

* commit '131a19ee6f55d95d747d3d1ed62537b1db5a2e69':
  Persist fingerprint names

9 years agoam d90bf462: Merge "Don\'t negate saving state" into mnc-dev
Todd Kennedy [Wed, 13 May 2015 20:35:51 +0000 (20:35 +0000)]
am d90bf462: Merge "Don\'t negate saving state" into mnc-dev

* commit 'd90bf46264615159e1e16ee69e78a8651e126d6e':
  Don't negate saving state

9 years agoVolume: Update divider color to match qs tile divider color.
John Spurlock [Wed, 13 May 2015 20:31:34 +0000 (16:31 -0400)]
Volume: Update divider color to match qs tile divider color.

Bug: 21120949
Change-Id: I35ad4f1badbb109e49d5d5b452e3e11b641d7e14

9 years agoMerge "Volume: Use inactive slider tints when disabled." into mnc-dev
John Spurlock [Wed, 13 May 2015 20:35:09 +0000 (20:35 +0000)]
Merge "Volume: Use inactive slider tints when disabled." into mnc-dev

9 years agoVolume: Use inactive slider tints when disabled.
John Spurlock [Wed, 13 May 2015 20:23:14 +0000 (16:23 -0400)]
Volume: Use inactive slider tints when disabled.

Bug: 21119650
Change-Id: I14e10c83e9d73096775f92d5290306b76eba6af4

9 years agoMerge "Persist fingerprint names" into mnc-dev
Jorim Jaggi [Wed, 13 May 2015 20:32:30 +0000 (20:32 +0000)]
Merge "Persist fingerprint names" into mnc-dev

9 years agoMerge "Don't negate saving state" into mnc-dev
Todd Kennedy [Wed, 13 May 2015 20:27:16 +0000 (20:27 +0000)]
Merge "Don't negate saving state" into mnc-dev

9 years agoPersist fingerprint names
Jorim Jaggi [Tue, 12 May 2015 22:00:12 +0000 (15:00 -0700)]
Persist fingerprint names

Bug: 20469328
Change-Id: I8f4a988687bfb78c36cc7cf187103a9d93ed4535

9 years agoam 396d9440: Merge "Remove initiator name param." into mnc-dev
Julia Reynolds [Wed, 13 May 2015 20:17:48 +0000 (20:17 +0000)]
am 396d9440: Merge "Remove initiator name param." into mnc-dev

* commit '396d944001f0b897b1689baa0bd7d3e04046b3ca':
  Remove initiator name param.

9 years agoam f5d758c0: Merge "Start handshake before calling hostname verifier, part 2" into...
Kenny Root [Wed, 13 May 2015 20:17:45 +0000 (20:17 +0000)]
am f5d758c0: Merge "Start handshake before calling hostname verifier, part 2" into mnc-dev

* commit 'f5d758c006c278d166f22587f3deb9a63bdf4e4b':
  Start handshake before calling hostname verifier, part 2

9 years agoam fb13d497: Merge "Zen: Use shorter version of countdown condition summary in footer...
John Spurlock [Wed, 13 May 2015 20:17:41 +0000 (20:17 +0000)]
am fb13d497: Merge "Zen: Use shorter version of countdown condition summary in footer." into mnc-dev

* commit 'fb13d497ae2a68444dad89a4c2e0a6fa19ad4bf2':
  Zen: Use shorter version of countdown condition summary in footer.

9 years agoam 2817f22d: Merge "Hide API not ready for prime time." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 20:17:37 +0000 (20:17 +0000)]
am 2817f22d: Merge "Hide API not ready for prime time." into mnc-dev

* commit '2817f22d157fd02fe6df14b76b59bac1276b5b86':
  Hide API not ready for prime time.

9 years agoAnti-Alias ColorDrawable
Chris Craik [Wed, 13 May 2015 20:16:56 +0000 (13:16 -0700)]
Anti-Alias ColorDrawable

Change-Id: I4d0ee2a496de908b99b0f1d8bef1b6f861c94c6f

9 years agoMerge "Remove initiator name param." into mnc-dev
Julia Reynolds [Wed, 13 May 2015 20:14:41 +0000 (20:14 +0000)]
Merge "Remove initiator name param." into mnc-dev

9 years agoMerge "Start handshake before calling hostname verifier, part 2" into mnc-dev
Kenny Root [Wed, 13 May 2015 20:14:25 +0000 (20:14 +0000)]
Merge "Start handshake before calling hostname verifier, part 2" into mnc-dev

9 years agoMerge "Zen: Use shorter version of countdown condition summary in footer." into mnc-dev
John Spurlock [Wed, 13 May 2015 20:10:48 +0000 (20:10 +0000)]
Merge "Zen: Use shorter version of countdown condition summary in footer." into mnc-dev

9 years agoMerge "Hide API not ready for prime time." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 20:08:12 +0000 (20:08 +0000)]
Merge "Hide API not ready for prime time." into mnc-dev

9 years agoAdd default icon for permissions
Jason Monk [Wed, 13 May 2015 20:01:16 +0000 (16:01 -0400)]
Add default icon for permissions

Bug: 21119477
Change-Id: Ie982a1b42d2195ab79c33cf87756efb3bd9eab29

9 years agoHide API not ready for prime time.
Jeff Sharkey [Wed, 13 May 2015 19:52:06 +0000 (12:52 -0700)]
Hide API not ready for prime time.

Bug: 20642684
Change-Id: I133f023ba7d1d9572175a8f6a3e3c8314c5a897d

9 years agoam 80283cd7: Merge "MediaCodec: rename usePersistentInputSurface to setInputSurface...
Chong Zhang [Wed, 13 May 2015 20:04:56 +0000 (20:04 +0000)]
am 80283cd7: Merge "MediaCodec: rename usePersistentInputSurface to setInputSurface" into mnc-dev

* commit '80283cd747d247780a5336bad6b41811175fd282':
  MediaCodec: rename usePersistentInputSurface to setInputSurface

9 years agoStart handshake before calling hostname verifier, part 2
Kenny Root [Tue, 12 May 2015 22:13:50 +0000 (15:13 -0700)]
Start handshake before calling hostname verifier, part 2

If the hostname verifier calls SSLSocket#getSession() before the
handshake has been started, it will implicitly start the handshake.
However, it will swallow any errors and return the canonical invalid
SSLSession instead. This makes it extremely difficult to debug issues.

Instead start the handshake before calling into the verifier since we
are guaranteed to be the first caller of #startHandshake() and won't
cause a renegotiation. That will allow us to see the actual
SSLHandshakeException if it occurs.

Follow up for change 317c0a4959df0361431d5fbf7dacc162bfb48cd2

Bug: 21118659
Change-Id: I8c606a78ba8a990b4e0d28880b566867261fefbc

9 years agoam b3345551: Merge "Ensure key algorithm name of HMAC keys is preserved." into mnc-dev
Alex Klyubin [Wed, 13 May 2015 19:59:56 +0000 (19:59 +0000)]
am b3345551: Merge "Ensure key algorithm name of HMAC keys is preserved." into mnc-dev

* commit 'b33455511b7b704e848c79c9e76e28abe2509178':
  Ensure key algorithm name of HMAC keys is preserved.

9 years agoMerge "MediaCodec: rename usePersistentInputSurface to setInputSurface" into mnc-dev
Chong Zhang [Wed, 13 May 2015 19:56:06 +0000 (19:56 +0000)]
Merge "MediaCodec: rename usePersistentInputSurface to setInputSurface" into mnc-dev

9 years agoNew AndroidKeyStore API in android.security.keystore.
Alex Klyubin [Wed, 13 May 2015 16:15:00 +0000 (09:15 -0700)]
New AndroidKeyStore API in android.security.keystore.

This CL addresses the comments from API Council about Android KeyStore
KeyPairGeneratorSpec, KeyGeneratorSpec and KeyStoreParameter:
1. These abstractions should not take or hold references to Context.
2. The Builders of these abstractions should take all mandatory
   parameters in their constructors rather than expose them as
   setters -- only optional paratemers should be exposed via setters.

These comments cannot be addressed without deprecation in the already
launched KeyPairGeneratorSpec and KeyStoreParameter. Instead of
deprecating just the getContext methods and Builder constructors, this
CL goes for the nuclear option of deprecating KeyPairGeneratorSpec and
KeyStoreParameter as a whole and exposing all of the AndroidKeyStore
API in the new package android.security.keystore. This enables this CL
to correct all of the accrued design issues with KeyPairGeneratorSpec
(e.g., naming of certificate-related methods) and KeyStoreParameter.

This also makes the transition to API Level M more clear for existing
users of the AndroidKeyStore API. These users will only have to deal
with the new always-mandatory parameters (e.g., purposes) and
sometimes-mandatory (e.g., digests, block modes, paddings) if they
switch to the new API. Prior to this CL they would've had to deal with
this if they invoked any of the new methods of KeyPairGeneratorSpec
or KeyStoreParameter introduced in API Level M.

This CL rips out all the new API introduced into KeyPairGeneratorSpec
and KeyStoreParameter classes for Android M, thus reverting these
classes to the API launched in L MR1. This is because the new API is
now in android.security.keystore.KeyGenParameterSpec and KeyProtection
respectively.

Bug: 21039983
Change-Id: I59672b3c6ef7bc25c40aa85f1c47d9d8a05d627c

9 years agoMerge "Ensure key algorithm name of HMAC keys is preserved." into mnc-dev
Alex Klyubin [Wed, 13 May 2015 19:47:37 +0000 (19:47 +0000)]
Merge "Ensure key algorithm name of HMAC keys is preserved." into mnc-dev

9 years agoam 4af455be: Merge "Rewriting should fail when any paths are null." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 19:46:50 +0000 (19:46 +0000)]
am 4af455be: Merge "Rewriting should fail when any paths are null." into mnc-dev

* commit '4af455beb79086a960f7205d7b730aa6da015993':
  Rewriting should fail when any paths are null.

9 years agoam 4c27d917: Merge "Updated storage notification icons." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 19:46:45 +0000 (19:46 +0000)]
am 4c27d917: Merge "Updated storage notification icons." into mnc-dev

* commit '4c27d9170842813d12fd30850d0b5b7e170aad4a':
  Updated storage notification icons.

9 years agoam 2047ce82: Merge "Zen: Serialize notify conditions calls, defer subscription."...
John Spurlock [Wed, 13 May 2015 19:46:41 +0000 (19:46 +0000)]
am 2047ce82: Merge "Zen: Serialize notify conditions calls, defer subscription." into mnc-dev

* commit '2047ce824030a2ea6227a7544789281530b7892d':
  Zen: Serialize notify conditions calls, defer subscription.

9 years agoam 84260768: Merge "Start handshake before calling hostname verifier" into mnc-dev
Kenny Root [Wed, 13 May 2015 19:46:36 +0000 (19:46 +0000)]
am 84260768: Merge "Start handshake before calling hostname verifier" into mnc-dev

* commit '84260768c44860fbe11c014c47c8f7340a394512':
  Start handshake before calling hostname verifier

9 years agoZen: Use shorter version of countdown condition summary in footer.
John Spurlock [Wed, 13 May 2015 19:42:04 +0000 (15:42 -0400)]
Zen: Use shorter version of countdown condition summary in footer.

To try and keep to two-lines.

Bug: 21119801
Change-Id: I5a6760381a6b673b8481164f92cf6b7b236af349

9 years agoMerge "Rewriting should fail when any paths are null." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 19:39:25 +0000 (19:39 +0000)]
Merge "Rewriting should fail when any paths are null." into mnc-dev

9 years agoRewriting should fail when any paths are null.
Jeff Sharkey [Wed, 13 May 2015 19:38:16 +0000 (12:38 -0700)]
Rewriting should fail when any paths are null.

Bug: 21017105
Change-Id: I0c5e9c5bdf397d51e2799b06a52bc5bd0bdd09b0

9 years agoMerge "Updated storage notification icons." into mnc-dev
Jeff Sharkey [Wed, 13 May 2015 19:35:27 +0000 (19:35 +0000)]
Merge "Updated storage notification icons." into mnc-dev

9 years agoEnsure key algorithm name of HMAC keys is preserved.
Alex Klyubin [Wed, 13 May 2015 19:30:19 +0000 (12:30 -0700)]
Ensure key algorithm name of HMAC keys is preserved.

When Android KeyStore loads an HMAC key, it needs to compose the JCA
key algorithm name (e.g., HmacSHA256) based on the digests the key is
authorized for. A key can be authorized for multiple digests. Thus,
the approach is to use the first one for constructing the JCA key
algorithm name.

This CL ensures that when importing HMAC keys the first KM_TAG_DIGEST
tag is set to the digest of the JCA key algorithm name.

Bug: 18088752
Change-Id: I911ca7427b249ee823d06e988687af6146ebaff8

9 years agoMerge "Zen: Serialize notify conditions calls, defer subscription." into mnc-dev
John Spurlock [Wed, 13 May 2015 19:06:09 +0000 (19:06 +0000)]
Merge "Zen: Serialize notify conditions calls, defer subscription." into mnc-dev

9 years agoMerge "Start handshake before calling hostname verifier" into mnc-dev
Kenny Root [Wed, 13 May 2015 19:04:08 +0000 (19:04 +0000)]
Merge "Start handshake before calling hostname verifier" into mnc-dev

9 years agoAddress API council feedback for setOffscreenPreRaster.
Hui Shu [Wed, 13 May 2015 19:01:42 +0000 (12:01 -0700)]
Address API council feedback for setOffscreenPreRaster.

BUG: 21043955
Change-Id: I6481f5f84c9e00c16caeb2d9e175aa869600c715

9 years agoam 59a5733a: Merge "Track app idle history and dump it" into mnc-dev
Amith Yamasani [Wed, 13 May 2015 19:00:33 +0000 (19:00 +0000)]
am 59a5733a: Merge "Track app idle history and dump it" into mnc-dev

* commit '59a5733adfc8fc4d906407f7edee1b9c61e73437':
  Track app idle history and dump it

9 years agoStart handshake before calling hostname verifier
Kenny Root [Tue, 12 May 2015 22:13:50 +0000 (15:13 -0700)]
Start handshake before calling hostname verifier

If the hostname verifier calls SSLSocket#getSession() before the
handshake has been started, it will implicitly start the handshake.
However, it will swallow any errors and return the canonical invalid
SSLSession instead. This makes it extremely difficult to debug issues.

Instead start the handshake before calling into the verifier since we
are guaranteed to be the first caller of #startHandshake() and won't
cause a renegotiation. That will allow us to see the actual
SSLHandshakeException if it occurs.

(cherry picked from commit 317c0a4959df0361431d5fbf7dacc162bfb48cd2 in
external/apache-http)

Bug: 14975169
Bug: 17332309
Bug: 17524215
Bug: 17812533
Bug: 18507278
Bug: 19069992
Bug: 19378885
Bug: 19414083
Bug: 19550311
Bug: 19731556
Bug: 19853723
Bug: 20908941
Bug: 21118659
Change-Id: Ie74ec12c8b131c7bf400a07fc91c78da4d5e470f

9 years agoam fc9b0604: am ba649917: am 09a8de75: Merge "docs: M Preview Program Overview page...
Fred Chung [Wed, 13 May 2015 18:54:52 +0000 (18:54 +0000)]
am fc9b0604: am ba649917: am 09a8de75: Merge "docs: M Preview Program Overview page" into mnc-preview-docs

* commit 'fc9b0604fa862c1fc12a129892b629e0955e3721':
  docs: M Preview Program Overview page

9 years agoMerge "Track app idle history and dump it" into mnc-dev
Amith Yamasani [Wed, 13 May 2015 18:52:29 +0000 (18:52 +0000)]
Merge "Track app idle history and dump it" into mnc-dev

9 years agoam 401c40a8: Merge "SettingsLib: Track permission\'s packageName" into mnc-dev
Jason Monk [Wed, 13 May 2015 18:50:16 +0000 (18:50 +0000)]
am 401c40a8: Merge "SettingsLib: Track permission\'s packageName" into mnc-dev

* commit '401c40a8228598e18f6891b34218e99cca79e760':
  SettingsLib: Track permission's packageName

9 years agoam c126b8e8: Merge "Replace JNI primitive array critical calls with non-critical...
Hiroshi Yamauchi [Wed, 13 May 2015 18:50:11 +0000 (18:50 +0000)]
am c126b8e8: Merge "Replace JNI primitive array critical calls with non-critical ones." into mnc-dev

* commit 'c126b8e81f5055dadfa8805d530a262a2cf05ab3':
  Replace JNI primitive array critical calls with non-critical ones.

9 years agoam 1b8b3a00: Merge "resolved conflicts for merge of 45fed517 to mnc-dev" into mnc-dev
Dirk Dougherty [Wed, 13 May 2015 18:50:01 +0000 (18:50 +0000)]
am 1b8b3a00: Merge "resolved conflicts for merge of 45fed517 to mnc-dev" into mnc-dev

* commit '1b8b3a0000812f9935f33667b055a546228ebfb6':
  Doc change: add new engagement and other distribute files.

9 years agoTrack app idle history and dump it
Amith Yamasani [Fri, 8 May 2015 23:36:21 +0000 (16:36 -0700)]
Track app idle history and dump it

"dumpsys usagestats history" will show the
active state of each app for the last 100 hours,
if the device hasn't rebooted.

Bug: 20066058
Change-Id: I703e5bc121298e4363c202da56fffb0b8534bcaf

9 years agoZen: Serialize notify conditions calls, defer subscription.
John Spurlock [Wed, 13 May 2015 18:48:02 +0000 (14:48 -0400)]
Zen: Serialize notify conditions calls, defer subscription.

 - Don't subscribe/unsubscribe to new rules until the config has
   been set, avoids race conditions.
 - Process all condition updates on the same thread.
 - Add the schedule provider's next alarm state to dumpsys.

Bug: 21111868
Change-Id: I389f4a4905a56d6c976f01408f48f87230109aba

9 years agoam ba649917: am 09a8de75: Merge "docs: M Preview Program Overview page" into mnc...
Fred Chung [Wed, 13 May 2015 18:45:05 +0000 (18:45 +0000)]
am ba649917: am 09a8de75: Merge "docs: M Preview Program Overview page" into mnc-preview-docs

* commit 'ba6499175773301b140047c44628c6e9f03f139f':
  docs: M Preview Program Overview page

9 years agoUpdated storage notification icons.
Jeff Sharkey [Wed, 13 May 2015 18:40:30 +0000 (11:40 -0700)]
Updated storage notification icons.

Bug: 19993667
Change-Id: Ibecb634ad7993dc8d1b244654396a6176a0891b9

9 years agoMerge "SettingsLib: Track permission's packageName" into mnc-dev
Jason Monk [Wed, 13 May 2015 18:40:49 +0000 (18:40 +0000)]
Merge "SettingsLib: Track permission's packageName" into mnc-dev

9 years agoMerge "Replace JNI primitive array critical calls with non-critical ones." into mnc-dev
Hiroshi Yamauchi [Wed, 13 May 2015 18:38:10 +0000 (18:38 +0000)]
Merge "Replace JNI primitive array critical calls with non-critical ones." into mnc-dev

9 years agoMerge "resolved conflicts for merge of 45fed517 to mnc-dev" into mnc-dev
Dirk Dougherty [Wed, 13 May 2015 18:37:19 +0000 (18:37 +0000)]
Merge "resolved conflicts for merge of 45fed517 to mnc-dev" into mnc-dev