OSDN Git Service

android-x86/frameworks-base.git
9 years agoam e12fe8cd: am 2177ed40: Merge changes from topic \'bench\' into mnc-dev
Jeff Sharkey [Fri, 15 May 2015 22:22:32 +0000 (22:22 +0000)]
am e12fe8cd: am 2177ed40: Merge changes from topic \'bench\' into mnc-dev

* commit 'e12fe8cd98341f79487843b1e35113e7577298a2':
  Command to change force adoptable state.
  Initial pass at storage benchmarks.

9 years agoam 2177ed40: Merge changes from topic \'bench\' into mnc-dev
Jeff Sharkey [Fri, 15 May 2015 22:08:51 +0000 (22:08 +0000)]
am 2177ed40: Merge changes from topic \'bench\' into mnc-dev

* commit '2177ed407b8323e6f50d2aa64a62fbdc773e1859':
  Command to change force adoptable state.
  Initial pass at storage benchmarks.

9 years agoMerge changes from topic 'bench' into mnc-dev
Jeff Sharkey [Fri, 15 May 2015 21:55:51 +0000 (21:55 +0000)]
Merge changes from topic 'bench' into mnc-dev

* changes:
  Command to change force adoptable state.
  Initial pass at storage benchmarks.

9 years agoam 10595666: am 038959e8: Merge "Remove UID from kernel cpu accounting when uninstall...
Adam Lesinski [Fri, 15 May 2015 21:44:01 +0000 (21:44 +0000)]
am 10595666: am 038959e8: Merge "Remove UID from kernel cpu accounting when uninstalled" into mnc-dev

* commit '10595666e441952c5ab7fa1d7f9b4e8f7d25d200':
  Remove UID from kernel cpu accounting when uninstalled

9 years agoam 1e9352ae: am b99e6d69: Merge "Parse uid_cputime proc file" into mnc-dev
Adam Lesinski [Fri, 15 May 2015 21:43:55 +0000 (21:43 +0000)]
am 1e9352ae: am b99e6d69: Merge "Parse uid_cputime proc file" into mnc-dev

* commit '1e9352aef5afbcc17cb87131b1fd23956846b816':
  Parse uid_cputime proc file

9 years agoam 038959e8: Merge "Remove UID from kernel cpu accounting when uninstalled" into...
Adam Lesinski [Fri, 15 May 2015 21:32:22 +0000 (21:32 +0000)]
am 038959e8: Merge "Remove UID from kernel cpu accounting when uninstalled" into mnc-dev

* commit '038959e851603500eb39b52fef33cbe75dbd73e3':
  Remove UID from kernel cpu accounting when uninstalled

9 years agoam b99e6d69: Merge "Parse uid_cputime proc file" into mnc-dev
Adam Lesinski [Fri, 15 May 2015 21:32:17 +0000 (21:32 +0000)]
am b99e6d69: Merge "Parse uid_cputime proc file" into mnc-dev

* commit 'b99e6d69c30056520f7cb793e4be1851b3bd8426':
  Parse uid_cputime proc file

9 years agoMerge "Remove UID from kernel cpu accounting when uninstalled" into mnc-dev
Adam Lesinski [Fri, 15 May 2015 21:24:59 +0000 (21:24 +0000)]
Merge "Remove UID from kernel cpu accounting when uninstalled" into mnc-dev

9 years agoMerge "Parse uid_cputime proc file" into mnc-dev
Adam Lesinski [Fri, 15 May 2015 21:23:07 +0000 (21:23 +0000)]
Merge "Parse uid_cputime proc file" into mnc-dev

9 years agoCommand to change force adoptable state.
Jeff Sharkey [Fri, 15 May 2015 20:45:00 +0000 (13:45 -0700)]
Command to change force adoptable state.

Since user builds can't setprop, add an explicit "sm" verb to change
the force adoptable state.

Bug: 21191915
Change-Id: I719d9b18c1a98c97442a5ddb1cc5512e8e4d3d3f

9 years agoam ce3f7931: am 6d54f81a: Merge "Preserve ResolverDrawerLayout fully collapsed state...
Adam Powell [Fri, 15 May 2015 21:15:24 +0000 (21:15 +0000)]
am ce3f7931: am 6d54f81a: Merge "Preserve ResolverDrawerLayout fully collapsed state across relayout" into mnc-dev

* commit 'ce3f79312777e0b2f90a16062f50b11bdbdb6af1':
  Preserve ResolverDrawerLayout fully collapsed state across relayout

9 years agoam 12b49884: am f02c7d43: Merge "Fix issue where GeofenceHardwareImpl can crash....
David Christie [Fri, 15 May 2015 21:15:19 +0000 (21:15 +0000)]
am 12b49884: am f02c7d43: Merge "Fix issue where GeofenceHardwareImpl can crash. -It can\'t be instantiated before looper thread  is ready. Bug: 21185178" into mnc-dev

* commit '12b49884a033f8f6ca6fbd48a61a294fe95880bc':
  Fix issue where GeofenceHardwareImpl can crash. -It can't be instantiated before looper thread  is ready. Bug: 21185178

9 years agoam 6d54f81a: Merge "Preserve ResolverDrawerLayout fully collapsed state across relayo...
Adam Powell [Fri, 15 May 2015 21:07:05 +0000 (21:07 +0000)]
am 6d54f81a: Merge "Preserve ResolverDrawerLayout fully collapsed state across relayout" into mnc-dev

* commit '6d54f81a9e5a96d84996418d547502b9ad8754ae':
  Preserve ResolverDrawerLayout fully collapsed state across relayout

9 years agoam f02c7d43: Merge "Fix issue where GeofenceHardwareImpl can crash. -It can\'t be...
David Christie [Fri, 15 May 2015 21:02:37 +0000 (21:02 +0000)]
am f02c7d43: Merge "Fix issue where GeofenceHardwareImpl can crash. -It can\'t be instantiated before looper thread  is ready. Bug: 21185178" into mnc-dev

* commit 'f02c7d439169307eb6a49f9b02ece90f9f0d2dc0':
  Fix issue where GeofenceHardwareImpl can crash. -It can't be instantiated before looper thread  is ready. Bug: 21185178

9 years agoMerge "Preserve ResolverDrawerLayout fully collapsed state across relayout" into...
Adam Powell [Fri, 15 May 2015 21:00:59 +0000 (21:00 +0000)]
Merge "Preserve ResolverDrawerLayout fully collapsed state across relayout" into mnc-dev

9 years agoPreserve ResolverDrawerLayout fully collapsed state across relayout
Adam Powell [Fri, 15 May 2015 20:39:22 +0000 (13:39 -0700)]
Preserve ResolverDrawerLayout fully collapsed state across relayout

Fix a bug where a relayout that grows the size of ResolverDrawerLayout
content would cause it to get stuck in a half-collapsed state. This
could also lead to janky touch interaction behavior in
onStopNestedScroll as it animates to the fully open/closed state after
clicking in a descendant list.

Bug 21202727

Change-Id: I5f0a8b19fc079c57fcf2be7c6fa7627b1cb12a3c

9 years agoam b57da422: am 4f9fd626: Merge "Clean-up broadcast receivers when component is disab...
Wale Ogunwale [Fri, 15 May 2015 20:57:40 +0000 (20:57 +0000)]
am b57da422: am 4f9fd626: Merge "Clean-up broadcast receivers when component is disabled." into mnc-dev

* commit 'b57da4225d0b546a96eb493aeb2dda62e628f1d5':
  Clean-up broadcast receivers when component is disabled.

9 years agoam 4fa63b43: am 358d12a0: Merge "Fix lost singleton provider after force-stopping...
Olawale Ogunwale [Fri, 15 May 2015 20:57:34 +0000 (20:57 +0000)]
am 4fa63b43: am 358d12a0: Merge "Fix lost singleton provider after force-stopping user or package." into mnc-dev

* commit '4fa63b43af0c2de757d6d9526ddc0514bdb57145':
  Fix lost singleton provider after force-stopping user or package.

9 years agoam bb1a0d83: am 27d86295: Merge "Also restart provider if there is external handle...
Olawale Ogunwale [Fri, 15 May 2015 20:57:28 +0000 (20:57 +0000)]
am bb1a0d83: am 27d86295: Merge "Also restart provider if there is external handle." into mnc-dev

* commit 'bb1a0d83fb760de2cf190acd0c481475180ee43c':
  Also restart provider if there is external handle.

9 years agoMerge "Fix issue where GeofenceHardwareImpl can crash. -It can't be instantiated...
David Christie [Fri, 15 May 2015 20:50:54 +0000 (20:50 +0000)]
Merge "Fix issue where GeofenceHardwareImpl can crash. -It can't be instantiated before looper thread  is ready. Bug: 21185178" into mnc-dev

9 years agoInitial pass at storage benchmarks.
Jeff Sharkey [Fri, 15 May 2015 04:07:42 +0000 (21:07 -0700)]
Initial pass at storage benchmarks.

Offer an interface for Settings to invoke benchmarks on various
attached volumes.

Bug: 21172095
Change-Id: I847ddc87c58285457d1324be87f70ce10507accb

9 years agoam 4f9fd626: Merge "Clean-up broadcast receivers when component is disabled." into...
Wale Ogunwale [Fri, 15 May 2015 20:43:44 +0000 (20:43 +0000)]
am 4f9fd626: Merge "Clean-up broadcast receivers when component is disabled." into mnc-dev

* commit '4f9fd626d32989fe76c29e092d1fc591c6a8e1eb':
  Clean-up broadcast receivers when component is disabled.

9 years agoam 358d12a0: Merge "Fix lost singleton provider after force-stopping user or package...
Olawale Ogunwale [Fri, 15 May 2015 20:43:39 +0000 (20:43 +0000)]
am 358d12a0: Merge "Fix lost singleton provider after force-stopping user or package." into mnc-dev

* commit '358d12a06c31c1471cffe2584715f2f8836e1abd':
  Fix lost singleton provider after force-stopping user or package.

9 years agoam 27d86295: Merge "Also restart provider if there is external handle." into mnc-dev
Olawale Ogunwale [Fri, 15 May 2015 20:43:33 +0000 (20:43 +0000)]
am 27d86295: Merge "Also restart provider if there is external handle." into mnc-dev

* commit '27d86295347fbcdc7c2790c9b95e29b01f19d51b':
  Also restart provider if there is external handle.

9 years agoam 72fd6186: am 2a576d9e: Merge "Invalidate old accessibility bounds on CONTENT_CHANG...
Alan Viverette [Fri, 15 May 2015 20:37:15 +0000 (20:37 +0000)]
am 72fd6186: am 2a576d9e: Merge "Invalidate old accessibility bounds on CONTENT_CHANGE" into mnc-dev

* commit '72fd61864a1766a741a619d958873d697415ecb4':
  Invalidate old accessibility bounds on CONTENT_CHANGE

9 years agoMerge "Clean-up broadcast receivers when component is disabled." into mnc-dev
Wale Ogunwale [Fri, 15 May 2015 20:35:39 +0000 (20:35 +0000)]
Merge "Clean-up broadcast receivers when component is disabled." into mnc-dev

9 years agoMerge "Fix lost singleton provider after force-stopping user or package." into mnc-dev
Olawale Ogunwale [Fri, 15 May 2015 20:34:18 +0000 (20:34 +0000)]
Merge "Fix lost singleton provider after force-stopping user or package." into mnc-dev

9 years agoMerge "Also restart provider if there is external handle." into mnc-dev
Olawale Ogunwale [Fri, 15 May 2015 20:33:47 +0000 (20:33 +0000)]
Merge "Also restart provider if there is external handle." into mnc-dev

9 years agoClean-up broadcast receivers when component is disabled.
Wale Ogunwale [Fri, 15 May 2015 19:49:13 +0000 (12:49 -0700)]
Clean-up broadcast receivers when component is disabled.

Bug: 15804187
Change-Id: Ib672f720bd5c8d81d3846568ef53f7723685f317

9 years agoam 2a576d9e: Merge "Invalidate old accessibility bounds on CONTENT_CHANGE" into mnc-dev
Alan Viverette [Fri, 15 May 2015 20:23:55 +0000 (20:23 +0000)]
am 2a576d9e: Merge "Invalidate old accessibility bounds on CONTENT_CHANGE" into mnc-dev

* commit '2a576d9ec1ec353ee2278f2da01e685b6b7b24ee':
  Invalidate old accessibility bounds on CONTENT_CHANGE

9 years agoFix issue where GeofenceHardwareImpl can crash.
David Christie [Fri, 15 May 2015 20:23:08 +0000 (13:23 -0700)]
Fix issue where GeofenceHardwareImpl can crash.
-It can't be instantiated before looper thread
 is ready.
Bug: 21185178

Change-Id: I9e5434f7821c608a01bfd962c5482f6c2c2a022d

9 years agoam a194eb9b: Merge "Cleanup Keystore API"
Chad Brubaker [Fri, 15 May 2015 20:17:51 +0000 (20:17 +0000)]
am a194eb9b: Merge "Cleanup Keystore API"

* commit 'a194eb9b5d36acc083aa55b9a152567d68e84f14':
  Cleanup Keystore API

9 years agoam 8dae979a: am 206df8c5: Merge "Fix testAuthNeeded test" into mnc-dev
Chad Brubaker [Fri, 15 May 2015 20:11:44 +0000 (20:11 +0000)]
am 8dae979a: am 206df8c5: Merge "Fix testAuthNeeded test" into mnc-dev

* commit '8dae979ae4ae0d4f1ed906d6e3754143689a9d3c':
  Fix testAuthNeeded test

9 years agoMerge "Invalidate old accessibility bounds on CONTENT_CHANGE" into mnc-dev
Alan Viverette [Fri, 15 May 2015 20:10:21 +0000 (20:10 +0000)]
Merge "Invalidate old accessibility bounds on CONTENT_CHANGE" into mnc-dev

9 years agoam 62b845b7: am afabc217: Merge "Rename PostMessageToMainFrame to PostWebMessage...
Selim Gurun [Fri, 15 May 2015 20:11:01 +0000 (20:11 +0000)]
am 62b845b7: am afabc217: Merge "Rename PostMessageToMainFrame to PostWebMessage" into mnc-dev

* commit '62b845b73c79414fa142d40ec290d24813a33fc7':
  Rename PostMessageToMainFrame to PostWebMessage

9 years agoam a4954e9b: am 2cc4a475: Merge "Adjust light source for window position" into mnc-dev
Alan Viverette [Fri, 15 May 2015 20:10:57 +0000 (20:10 +0000)]
am a4954e9b: am 2cc4a475: Merge "Adjust light source for window position" into mnc-dev

* commit 'a4954e9bf3b76b4b94c45e446cd5f33b74979a0f':
  Adjust light source for window position

9 years agoam 90c1c454: am 6a5f8508: Merge "Remove "encrypt at rest" flag from new AndroidKeySto...
Alex Klyubin [Fri, 15 May 2015 20:10:51 +0000 (20:10 +0000)]
am 90c1c454: am 6a5f8508: Merge "Remove "encrypt at rest" flag from new AndroidKeyStore API." into mnc-dev

* commit '90c1c454e4f313d152156a7c2b3e146bb56382f4':
  Remove "encrypt at rest" flag from new AndroidKeyStore API.

9 years agoam e0b108cd: am 21417a0d: Merge "Text selection: Fix moving by character when should...
Mady Mellor [Fri, 15 May 2015 20:10:47 +0000 (20:10 +0000)]
am e0b108cd: am 21417a0d: Merge "Text selection: Fix moving by character when should move by word" into mnc-dev

* commit 'e0b108cd951f3b6db13b562a5035f22fa1cbd961':
  Text selection: Fix moving by character when should move by word

9 years agoam 976c683b: am c25d6c22: Merge "Fix difficulty grabbing handles for small selections...
Mady Mellor [Fri, 15 May 2015 20:10:42 +0000 (20:10 +0000)]
am 976c683b: am c25d6c22: Merge "Fix difficulty grabbing handles for small selections" into mnc-dev

* commit '976c683bb725b79b8967dba5deaf4124747ba69b':
  Fix difficulty grabbing handles for small selections

9 years agoam d34d5dba: am 79d0c080: Merge "Revert "Fix IMMS#mInputShown state inconsistency...
Yohei Yukawa [Fri, 15 May 2015 20:10:38 +0000 (20:10 +0000)]
am d34d5dba: am 79d0c080: Merge "Revert "Fix IMMS#mInputShown state inconsistency."" into mnc-dev

* commit 'd34d5dba966bad63f6aa8a314d74850ce0062f31':
  Revert "Fix IMMS#mInputShown state inconsistency."

9 years agoMerge "Cleanup Keystore API"
Chad Brubaker [Fri, 15 May 2015 19:54:32 +0000 (19:54 +0000)]
Merge "Cleanup Keystore API"

9 years agoam 206df8c5: Merge "Fix testAuthNeeded test" into mnc-dev
Chad Brubaker [Fri, 15 May 2015 19:45:06 +0000 (19:45 +0000)]
am 206df8c5: Merge "Fix testAuthNeeded test" into mnc-dev

* commit '206df8c5e5cbebe4dc126ab325bb6ff746ccca85':
  Fix testAuthNeeded test

9 years agoMerge "Fix testAuthNeeded test" into mnc-dev
Chad Brubaker [Fri, 15 May 2015 19:37:25 +0000 (19:37 +0000)]
Merge "Fix testAuthNeeded test" into mnc-dev

9 years agoam afabc217: Merge "Rename PostMessageToMainFrame to PostWebMessage" into mnc-dev
Selim Gurun [Fri, 15 May 2015 18:58:21 +0000 (18:58 +0000)]
am afabc217: Merge "Rename PostMessageToMainFrame to PostWebMessage" into mnc-dev

* commit 'afabc217226c11bad46de4eac557f8fe2e15f708':
  Rename PostMessageToMainFrame to PostWebMessage

9 years agoam 2cc4a475: Merge "Adjust light source for window position" into mnc-dev
Alan Viverette [Fri, 15 May 2015 18:51:54 +0000 (18:51 +0000)]
am 2cc4a475: Merge "Adjust light source for window position" into mnc-dev

* commit '2cc4a4755fcd41900e042c75cc47879d46acecda':
  Adjust light source for window position

9 years agoam 6a5f8508: Merge "Remove "encrypt at rest" flag from new AndroidKeyStore API."...
Alex Klyubin [Fri, 15 May 2015 18:51:48 +0000 (18:51 +0000)]
am 6a5f8508: Merge "Remove "encrypt at rest" flag from new AndroidKeyStore API." into mnc-dev

* commit '6a5f85080e1a3656fc9a4a22c71cf7bc1f9239de':
  Remove "encrypt at rest" flag from new AndroidKeyStore API.

9 years agoam 21417a0d: Merge "Text selection: Fix moving by character when should move by word...
Mady Mellor [Fri, 15 May 2015 18:51:37 +0000 (18:51 +0000)]
am 21417a0d: Merge "Text selection: Fix moving by character when should move by word" into mnc-dev

* commit '21417a0d50891e2d9d07c9c68f09da4931f053ff':
  Text selection: Fix moving by character when should move by word

9 years agoam c25d6c22: Merge "Fix difficulty grabbing handles for small selections" into mnc-dev
Mady Mellor [Fri, 15 May 2015 18:51:32 +0000 (18:51 +0000)]
am c25d6c22: Merge "Fix difficulty grabbing handles for small selections" into mnc-dev

* commit 'c25d6c22bbb2b8d6efbe4b4ab5252ca8f266889f':
  Fix difficulty grabbing handles for small selections

9 years agoam 79d0c080: Merge "Revert "Fix IMMS#mInputShown state inconsistency."" into mnc-dev
Yohei Yukawa [Fri, 15 May 2015 18:51:20 +0000 (18:51 +0000)]
am 79d0c080: Merge "Revert "Fix IMMS#mInputShown state inconsistency."" into mnc-dev

* commit '79d0c080a060b340e87d9211f5b174613b67d947':
  Revert "Fix IMMS#mInputShown state inconsistency."

9 years agoMerge "Rename PostMessageToMainFrame to PostWebMessage" into mnc-dev
Selim Gurun [Fri, 15 May 2015 18:47:43 +0000 (18:47 +0000)]
Merge "Rename PostMessageToMainFrame to PostWebMessage" into mnc-dev

9 years agoMerge "Adjust light source for window position" into mnc-dev
Alan Viverette [Fri, 15 May 2015 18:31:40 +0000 (18:31 +0000)]
Merge "Adjust light source for window position" into mnc-dev

9 years agoInvalidate old accessibility bounds on CONTENT_CHANGE
Alan Viverette [Fri, 15 May 2015 18:30:21 +0000 (11:30 -0700)]
Invalidate old accessibility bounds on CONTENT_CHANGE

Bug: 20950124
Change-Id: Id19924358b538f9b7754de3a0c019433817dc1fc

9 years agoFix testAuthNeeded test
Chad Brubaker [Thu, 7 May 2015 18:31:32 +0000 (11:31 -0700)]
Fix testAuthNeeded test

begin now returns OP_AUTH_REQUIRED for per operations with per op
authorization instead of NO_ERROR.

(cherry-picked from commit b0addbaaf22b14200db602c41a5bd86847bdc0a9)

Change-Id: I1f472125f46155833e03ab30bf18363ff51b2c58

9 years agoMerge "Remove "encrypt at rest" flag from new AndroidKeyStore API." into mnc-dev
Alex Klyubin [Fri, 15 May 2015 18:23:00 +0000 (18:23 +0000)]
Merge "Remove "encrypt at rest" flag from new AndroidKeyStore API." into mnc-dev

9 years agoRemove "encrypt at rest" flag from new AndroidKeyStore API.
Alex Klyubin [Fri, 15 May 2015 17:47:18 +0000 (10:47 -0700)]
Remove "encrypt at rest" flag from new AndroidKeyStore API.

This flag causes issues such as being unable to generate, import, or
use keys when the user/profile secure lock screen credential hasn't
yet been entered after boot.

Bug: 18088752
Change-Id: I992f6dfdc945bcb83e341356a40dfa7d7bc143d8

9 years agoam 354be7cd: (-s ours) Merge "Use the correct parent size to initialize animations"
Olawale Ogunwale [Fri, 15 May 2015 18:05:42 +0000 (18:05 +0000)]
am 354be7cd: (-s ours) Merge "Use the correct parent size to initialize animations"

* commit '354be7cd8741c4edfeb2376f1d4eb912de0e41e3':
  Use the correct parent size to initialize animations

9 years agoRename PostMessageToMainFrame to PostWebMessage
Selim Gurun [Fri, 15 May 2015 18:02:45 +0000 (11:02 -0700)]
Rename PostMessageToMainFrame to PostWebMessage

Bug: 20557074

There is no need to keep the name PostMessageToMainFrame since
we may choose to not implement the special condition to posting
to a named subframe. And if we want, we can do this by overloading
the function.

Change-Id: I9896ad479e1c30cda500352cfdb1b7d336383568

9 years agoam 4857c1d8: (-s ours) Merge "Fix lost singleton provider after force-stopping user...
Olawale Ogunwale [Fri, 15 May 2015 17:58:32 +0000 (17:58 +0000)]
am 4857c1d8: (-s ours) Merge "Fix lost singleton provider after force-stopping user or package."

* commit '4857c1d885f293b065e975d4345f28b6c08a0edd':
  Fix lost singleton provider after force-stopping user or package.

9 years agoMerge "Text selection: Fix moving by character when should move by word" into mnc-dev
Mady Mellor [Fri, 15 May 2015 17:56:34 +0000 (17:56 +0000)]
Merge "Text selection: Fix moving by character when should move by word" into mnc-dev

9 years agoMerge "Fix difficulty grabbing handles for small selections" into mnc-dev
Mady Mellor [Fri, 15 May 2015 17:56:48 +0000 (17:56 +0000)]
Merge "Fix difficulty grabbing handles for small selections" into mnc-dev

9 years agoMerge "Revert "Fix IMMS#mInputShown state inconsistency."" into mnc-dev
Yohei Yukawa [Fri, 15 May 2015 17:40:39 +0000 (17:40 +0000)]
Merge "Revert "Fix IMMS#mInputShown state inconsistency."" into mnc-dev

9 years agoRevert "Fix IMMS#mInputShown state inconsistency."
Yohei Yukawa [Fri, 15 May 2015 17:30:12 +0000 (10:30 -0700)]
Revert "Fix IMMS#mInputShown state inconsistency."

This reverts commit 8d4a9117fbd0aaf03b8486ef920c73894a12cfcd.

Because of a regression Bug 21161785.

Bug: 21161785
Bug: 18722991
Bug: 20763994
Bug: 20764441
Bug: 20926844
Change-Id: If58612eda08764be0226832c0a73f03683889cdb

9 years agoMerge "Use the correct parent size to initialize animations"
Olawale Ogunwale [Fri, 15 May 2015 17:23:07 +0000 (17:23 +0000)]
Merge "Use the correct parent size to initialize animations"

9 years agoFix lost singleton provider after force-stopping user or package.
riddle_hsu [Fri, 15 May 2015 03:33:03 +0000 (11:33 +0800)]
Fix lost singleton provider after force-stopping user or package.

Case 1 (name == null):
Switch user from guest to owner. All processes of guest
will be killed, it will not include processes which singleton
components live in, but singleton provider records are still
collected and removed.

When the user switch is complete and the process of removed
singleton provider is still alive, there is someone access
the provider, it will create a new ContentProviderRecord and
wait but no one will notify it because the provider process
is alive with different ContentProviderRecord.

Then the access cannot get response unless the process of target
provider is died and restarted.

Case 2 (name != null):
Switch to another non-guest user, launch an application which
contains singleton provider. Go to Settings to force-stop the
package then switch back to owner user. Launch an application
which will access the singleton provider. It will also cannot
get response that similar as case 1.

Solution:
Only collect singleton provider if target user is all or owner.

Change-Id: Ic6828da66645172d1378cfb1f66d092df5966516

9 years agoMerge "Fix lost singleton provider after force-stopping user or package."
Olawale Ogunwale [Fri, 15 May 2015 17:11:27 +0000 (17:11 +0000)]
Merge "Fix lost singleton provider after force-stopping user or package."

9 years agoam 6e886a73: am b3fa8bf2: am 7414f97a: am efd254b2: Doc change: fix urls, remove...
Dirk Dougherty [Fri, 15 May 2015 16:58:55 +0000 (16:58 +0000)]
am 6e886a73: am b3fa8bf2: am 7414f97a: am efd254b2: Doc change: fix urls, remove obsolete image.

* commit '6e886a73d1b6ed5f87791560256221efc0c8b97a':
  Doc change: fix urls, remove obsolete image.

9 years agoam b68b1752: am c259daac: am 3519ddfe: am de401c82: Doc change: More changes to distr...
Dirk Dougherty [Fri, 15 May 2015 16:58:51 +0000 (16:58 +0000)]
am b68b1752: am c259daac: am 3519ddfe: am de401c82: Doc change: More changes to distribute files, Google Services page update.

* commit 'b68b17526b4552436dbfa1f12c9c34672c7947fc':
  Doc change: More changes to distribute files, Google Services page update.

9 years agoam 8b51ce7d: am 617da41e: Merge "Update button visibility as a final step in DayPicke...
Alan Viverette [Fri, 15 May 2015 16:58:46 +0000 (16:58 +0000)]
am 8b51ce7d: am 617da41e: Merge "Update button visibility as a final step in DayPickerView construction" into mnc-dev

* commit '8b51ce7dfd8e2c62c8c77fc630508b3fe957aa87':
  Update button visibility as a final step in DayPickerView construction

9 years agoam 29bf5d94: am b47cea9b: Merge "Revert "Strip PNG metadata"" into mnc-dev
Alan Viverette [Fri, 15 May 2015 16:58:40 +0000 (16:58 +0000)]
am 29bf5d94: am b47cea9b: Merge "Revert "Strip PNG metadata"" into mnc-dev

* commit '29bf5d942cfab974682fe0aedae6492bfdb61ae2':
  Revert "Strip PNG metadata"

9 years agoam 9df1411c: am 4e76ee07: Merge "Fix easter egg setting validator to accept valid...
Svet Ganov [Fri, 15 May 2015 16:58:35 +0000 (16:58 +0000)]
am 9df1411c: am 4e76ee07: Merge "Fix easter egg setting validator to accept valid values" into mnc-dev

* commit '9df1411c0e02bf53e4fd21dd83daba9dcb294d26':
  Fix easter egg setting validator to accept valid values

9 years agoam b3fa8bf2: am 7414f97a: am efd254b2: Doc change: fix urls, remove obsolete image.
Dirk Dougherty [Fri, 15 May 2015 16:50:56 +0000 (16:50 +0000)]
am b3fa8bf2: am 7414f97a: am efd254b2: Doc change: fix urls, remove obsolete image.

* commit 'b3fa8bf221c239ebce7f5cdfd33dadcda9f137b3':
  Doc change: fix urls, remove obsolete image.

9 years agoam c259daac: am 3519ddfe: am de401c82: Doc change: More changes to distribute files...
Dirk Dougherty [Fri, 15 May 2015 16:50:51 +0000 (16:50 +0000)]
am c259daac: am 3519ddfe: am de401c82: Doc change: More changes to distribute files, Google Services page update.

* commit 'c259daacde9c62d5956591716285fe4df170a0fb':
  Doc change: More changes to distribute files, Google Services page update.

9 years agoam 617da41e: Merge "Update button visibility as a final step in DayPickerView constru...
Alan Viverette [Fri, 15 May 2015 16:50:46 +0000 (16:50 +0000)]
am 617da41e: Merge "Update button visibility as a final step in DayPickerView construction" into mnc-dev

* commit '617da41e8ce31041cf1da958fc1f3e0a277ba1ab':
  Update button visibility as a final step in DayPickerView construction

9 years agoam b47cea9b: Merge "Revert "Strip PNG metadata"" into mnc-dev
Alan Viverette [Fri, 15 May 2015 16:50:40 +0000 (16:50 +0000)]
am b47cea9b: Merge "Revert "Strip PNG metadata"" into mnc-dev

* commit 'b47cea9ba10cd815ff6ead819f106ac4eafee5ff':
  Revert "Strip PNG metadata"

9 years agoam d80f23e5: Merge "Also restart provider if there is external handle."
Olawale Ogunwale [Fri, 15 May 2015 16:50:25 +0000 (16:50 +0000)]
am d80f23e5: Merge "Also restart provider if there is external handle."

* commit 'd80f23e5c3bf9d76d249e63a897ef87ffcb1e06c':
  Also restart provider if there is external handle.

9 years agoam 7414f97a: am efd254b2: Doc change: fix urls, remove obsolete image.
Dirk Dougherty [Fri, 15 May 2015 16:46:24 +0000 (16:46 +0000)]
am 7414f97a: am efd254b2: Doc change: fix urls, remove obsolete image.

* commit '7414f97a04658858201760c3a60a9d8fa95042fa':
  Doc change: fix urls, remove obsolete image.

9 years agoam 3519ddfe: am de401c82: Doc change: More changes to distribute files, Google Servic...
Dirk Dougherty [Fri, 15 May 2015 16:46:18 +0000 (16:46 +0000)]
am 3519ddfe: am de401c82: Doc change: More changes to distribute files, Google Services page update.

* commit '3519ddfe07de5847332937c4a0ba29c0378fe26a':
  Doc change: More changes to distribute files, Google Services page update.

9 years agoMerge "Update button visibility as a final step in DayPickerView construction" into...
Alan Viverette [Fri, 15 May 2015 16:44:21 +0000 (16:44 +0000)]
Merge "Update button visibility as a final step in DayPickerView construction" into mnc-dev

9 years agoam 4e76ee07: Merge "Fix easter egg setting validator to accept valid values" into...
Svet Ganov [Fri, 15 May 2015 16:43:38 +0000 (16:43 +0000)]
am 4e76ee07: Merge "Fix easter egg setting validator to accept valid values" into mnc-dev

* commit '4e76ee07f7aa2e1812a0d86330b59a518974a87a':
  Fix easter egg setting validator to accept valid values

9 years agoMerge "Revert "Strip PNG metadata"" into mnc-dev
Alan Viverette [Fri, 15 May 2015 16:43:00 +0000 (16:43 +0000)]
Merge "Revert "Strip PNG metadata"" into mnc-dev

9 years agoRevert "Strip PNG metadata"
Alan Viverette [Fri, 15 May 2015 16:41:26 +0000 (16:41 +0000)]
Revert "Strip PNG metadata"

Removing the color profiles significantly changed the
appearance of some assets.

This reverts commit fe1ca2c535816bf7528b8b77fb5c24f9db324671.

Change-Id: I60d9b645eda927b0fc5adc8b2bd0902fb536208a

9 years agoam b1a836b9: am 99dc8996: Merge "Camera2: get ride of sceneModeOverrides in API doc...
Zhijun He [Fri, 15 May 2015 16:38:48 +0000 (16:38 +0000)]
am b1a836b9: am 99dc8996: Merge "Camera2: get ride of sceneModeOverrides in API doc" into mnc-dev

* commit 'b1a836b9bb3d6856ede45a045cff6a385ea513ce':
  Camera2: get ride of sceneModeOverrides in API doc

9 years agoam f6f170a1: am 0c72f4f9: Merge "Change AudioDevicesInfo.getFormats() to getEncodings...
Paul McLean [Fri, 15 May 2015 16:38:43 +0000 (16:38 +0000)]
am f6f170a1: am 0c72f4f9: Merge "Change AudioDevicesInfo.getFormats() to getEncodings()." into mnc-dev

* commit 'f6f170a15eb1989171f2043177549a4fbd0f718f':
  Change AudioDevicesInfo.getFormats() to getEncodings().

9 years agoam 490d4693: am f02fd46d: Merge "Add bluetooth permission annotations" into mnc-dev
Tor Norbye [Fri, 15 May 2015 16:38:38 +0000 (16:38 +0000)]
am 490d4693: am f02fd46d: Merge "Add bluetooth permission annotations" into mnc-dev

* commit '490d4693e6eb3f0ecbacf4dc963823f8131ace40':
  Add bluetooth permission annotations

9 years agoam e4ac47c6: am b1f12933: Merge "Remove hidden/deleted APIs." into mnc-dev
George Mount [Fri, 15 May 2015 16:38:33 +0000 (16:38 +0000)]
am e4ac47c6: am b1f12933: Merge "Remove hidden/deleted APIs." into mnc-dev

* commit 'e4ac47c69bb2eee54284a47af02536e3e0c6d41b':
  Remove hidden/deleted APIs.

9 years agoam 031339ba: am d63f9321: Icon support comes to Notification.
Dan Sandler [Fri, 15 May 2015 16:38:26 +0000 (16:38 +0000)]
am 031339ba: am d63f9321: Icon support comes to Notification.

* commit '031339baea5c53a4e015a345261a94215c4894ba':
  Icon support comes to Notification.

9 years agoam 71e69160: am aee0c2ce: Merge "Use Context instead of Resources in Icon.createWithR...
Dan Sandler [Fri, 15 May 2015 16:38:20 +0000 (16:38 +0000)]
am 71e69160: am aee0c2ce: Merge "Use Context instead of Resources in Icon.createWithResource." into mnc-dev

* commit '71e691600a7605db2dca7eee00b2b307260849f0':
  Use Context instead of Resources in Icon.createWithResource.

9 years agoam 4631b589: am af9ea2cf: Merge "Fix bug with jobservice context giving wrong value...
Matthew Williams [Fri, 15 May 2015 16:38:14 +0000 (16:38 +0000)]
am 4631b589: am af9ea2cf: Merge "Fix bug with jobservice context giving wrong value" into mnc-dev

* commit '4631b589a792c34d026c673ee5a29be45ed6218c':
  Fix bug with jobservice context giving wrong value

9 years agoam 4eb901b6: am bdc8b6d2: Merge "Statically import NetworkCapabilities constants...
Lorenzo Colitti [Fri, 15 May 2015 16:38:06 +0000 (16:38 +0000)]
am 4eb901b6: am bdc8b6d2: Merge "Statically import NetworkCapabilities constants for brevity." into mnc-dev

* commit '4eb901b6c1b53022e4c26ba742ca77c14b699a9f':
  Statically import NetworkCapabilities constants for brevity.

9 years agoMerge "Fix easter egg setting validator to accept valid values" into mnc-dev
Svet Ganov [Fri, 15 May 2015 16:34:53 +0000 (16:34 +0000)]
Merge "Fix easter egg setting validator to accept valid values" into mnc-dev

9 years agoFix easter egg setting validator to accept valid values
Svet Ganov [Fri, 15 May 2015 16:32:55 +0000 (09:32 -0700)]
Fix easter egg setting validator to accept valid values

bug:21188928

Change-Id: I5f6d445aad7231a907026c552c87f9cdfe024d32

9 years agoam 99dc8996: Merge "Camera2: get ride of sceneModeOverrides in API doc" into mnc-dev
Zhijun He [Fri, 15 May 2015 16:26:40 +0000 (16:26 +0000)]
am 99dc8996: Merge "Camera2: get ride of sceneModeOverrides in API doc" into mnc-dev

* commit '99dc89961f192b8570215ebe8feff1945a7c53ea':
  Camera2: get ride of sceneModeOverrides in API doc

9 years agoam 0c72f4f9: Merge "Change AudioDevicesInfo.getFormats() to getEncodings()." into...
Paul McLean [Fri, 15 May 2015 16:26:30 +0000 (16:26 +0000)]
am 0c72f4f9: Merge "Change AudioDevicesInfo.getFormats() to getEncodings()." into mnc-dev

* commit '0c72f4f9d04077f2fe96b486b8501303325a54af':
  Change AudioDevicesInfo.getFormats() to getEncodings().

9 years agoam f02fd46d: Merge "Add bluetooth permission annotations" into mnc-dev
Tor Norbye [Fri, 15 May 2015 16:26:25 +0000 (16:26 +0000)]
am f02fd46d: Merge "Add bluetooth permission annotations" into mnc-dev

* commit 'f02fd46d34624b4549565be777deff8328bbdc05':
  Add bluetooth permission annotations

9 years agoam b1f12933: Merge "Remove hidden/deleted APIs." into mnc-dev
George Mount [Fri, 15 May 2015 16:26:20 +0000 (16:26 +0000)]
am b1f12933: Merge "Remove hidden/deleted APIs." into mnc-dev

* commit 'b1f1293355a1837d95095d28891f9218bdcf2bdd':
  Remove hidden/deleted APIs.

9 years agoam d63f9321: Icon support comes to Notification.
Dan Sandler [Fri, 15 May 2015 16:26:15 +0000 (16:26 +0000)]
am d63f9321: Icon support comes to Notification.

* commit 'd63f9321e62064660d426efd5abbd885c4a24652':
  Icon support comes to Notification.

9 years agoam aee0c2ce: Merge "Use Context instead of Resources in Icon.createWithResource....
Dan Sandler [Fri, 15 May 2015 16:24:59 +0000 (16:24 +0000)]
am aee0c2ce: Merge "Use Context instead of Resources in Icon.createWithResource." into mnc-dev

* commit 'aee0c2ce39fe92716bb76d33d6f8cc8789467cf6':
  Use Context instead of Resources in Icon.createWithResource.

9 years agoam af9ea2cf: Merge "Fix bug with jobservice context giving wrong value" into mnc-dev
Matthew Williams [Fri, 15 May 2015 16:24:54 +0000 (16:24 +0000)]
am af9ea2cf: Merge "Fix bug with jobservice context giving wrong value" into mnc-dev

* commit 'af9ea2cf5e9f4848b3d1078cc261931e1339e7cf':
  Fix bug with jobservice context giving wrong value

9 years agoam bdc8b6d2: Merge "Statically import NetworkCapabilities constants for brevity....
Lorenzo Colitti [Fri, 15 May 2015 16:24:46 +0000 (16:24 +0000)]
am bdc8b6d2: Merge "Statically import NetworkCapabilities constants for brevity." into mnc-dev

* commit 'bdc8b6d247716c08d4ee6e7187e46c5f3da3fbba':
  Statically import NetworkCapabilities constants for brevity.

9 years agoAlso restart provider if there is external handle.
riddle_hsu [Wed, 13 May 2015 10:59:03 +0000 (18:59 +0800)]
Also restart provider if there is external handle.

e.g. ContentResolver.getType will call
ActivityManagerService.getProviderMimeType
that will not have connection but increase
externalProcessNoHandleCount.

Change-Id: I649c0b2390a749c77c6be5e7dfadc1acb689ec4c