OSDN Git Service

android-x86/frameworks-base.git
7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 27 Sep 2016 01:07:15 +0000 (18:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3f602d071e22761d6da37a7ffc41a0d6bd5e6537
Auto-generated-cl: translation import

7 years agoMerge "Show PLMN on CryptKeeper" into nyc-mr1-dev
TreeHugger Robot [Sat, 24 Sep 2016 01:58:52 +0000 (01:58 +0000)]
Merge "Show PLMN on CryptKeeper" into nyc-mr1-dev

7 years agoMerge "Adding compatibility note for drag/drop in N." into nyc-mr1-dev
TreeHugger Robot [Sat, 24 Sep 2016 01:07:21 +0000 (01:07 +0000)]
Merge "Adding compatibility note for drag/drop in N." into nyc-mr1-dev

7 years agoShow PLMN on CryptKeeper
Adrian Roos [Tue, 23 Aug 2016 15:53:07 +0000 (17:53 +0200)]
Show PLMN on CryptKeeper

Also shows the state only once radio is enabled.

Fixes: 30301831
Change-Id: Iaf3b96c3622e20d8ada6e1f6391d6065101fb281

7 years agoMerge "Add a hidden action to trigger the storage manager settings." into nyc-mr1-dev
Daniel Nishi [Sat, 24 Sep 2016 00:15:49 +0000 (00:15 +0000)]
Merge "Add a hidden action to trigger the storage manager settings." into nyc-mr1-dev

7 years agoMerge "Update/correct Drag and Drop docs." into nyc-mr1-dev
TreeHugger Robot [Fri, 23 Sep 2016 23:23:18 +0000 (23:23 +0000)]
Merge "Update/correct Drag and Drop docs." into nyc-mr1-dev

7 years agoAdding compatibility note for drag/drop in N.
Vadim Tryshev [Fri, 23 Sep 2016 22:32:33 +0000 (15:32 -0700)]
Adding compatibility note for drag/drop in N.

Bug: 31702571
Change-Id: Ib4b839eec21ea8e1c2b3686595a45642eb8285ba

7 years agoMerge "docs: update javadoc description for View.setVisibility() method" into nyc...
Mark Lu [Fri, 23 Sep 2016 22:29:34 +0000 (22:29 +0000)]
Merge "docs: update javadoc description for View.setVisibility() method" into nyc-dev am: d91c303e6c
am: f2f2d48a0e

Change-Id: I8f9eb23b0ef604fbdacf256e05832355fc813218

7 years agodocs: update javadoc description for View.setVisibility() method am: ae0459f532
Mark Lu [Fri, 23 Sep 2016 22:28:41 +0000 (22:28 +0000)]
docs: update javadoc description for View.setVisibility() method am: ae0459f532
am: 66192078c5

Change-Id: I7f3775c5fd9e63252cea9fafb8ed4b79c95bfcba

7 years agoMerge "docs: update docs for uses-feature element" into nyc-dev am: dc24613bf3
Mark Lu [Fri, 23 Sep 2016 22:27:50 +0000 (22:27 +0000)]
Merge "docs: update docs for uses-feature element" into nyc-dev am: dc24613bf3
am: 83e283b22f

Change-Id: I00c39e0c329dda6ab66820d3a858f5daeecdb6c7

7 years agodocs: update docs for uses-feature element am: b463a6db08
Mark Lu [Fri, 23 Sep 2016 22:27:02 +0000 (22:27 +0000)]
docs: update docs for uses-feature element am: b463a6db08
am: a6f0c7f99f

Change-Id: I3eab318c16f240fe9787fdd2c6e750ddfa8343b1

7 years agoMerge "docs: Add param info to TextView.setTextColor" into nyc-dev am: 7df8927691
Mark Lu [Fri, 23 Sep 2016 22:26:05 +0000 (22:26 +0000)]
Merge "docs: Add param info to TextView.setTextColor" into nyc-dev am: 7df8927691
am: f5eeb28a42

Change-Id: Icce28df30d250c752e5605d3ced3a7f904a904a8

7 years agodocs: Add param info to TextView.setTextColor am: 193879a8b6
Mark Lu [Fri, 23 Sep 2016 22:25:17 +0000 (22:25 +0000)]
docs: Add param info to TextView.setTextColor am: 193879a8b6
am: 544e899559

Change-Id: Ic4506ceaf5c34c93b3d937137f9a4756508ff189

7 years agoMerge "docs: update javadoc description for View.setVisibility() method" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 22:19:50 +0000 (22:19 +0000)]
Merge "docs: update javadoc description for View.setVisibility() method" into nyc-dev
am: d91c303e6c

Change-Id: I63e930d5d3e0e6da2af44a62d2e4f781719b4028

7 years agodocs: update javadoc description for View.setVisibility() method
Mark Lu [Fri, 23 Sep 2016 22:19:47 +0000 (22:19 +0000)]
docs: update javadoc description for View.setVisibility() method
am: ae0459f532

Change-Id: Ie217e46288a11e86b2e5b6e56d8ce5cb2a214861

7 years agoMerge "docs: update docs for uses-feature element" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 22:18:20 +0000 (22:18 +0000)]
Merge "docs: update docs for uses-feature element" into nyc-dev
am: dc24613bf3

Change-Id: I9ea4800646bbe165551d6782beb6cc337ffa7055

7 years agodocs: update docs for uses-feature element
Mark Lu [Fri, 23 Sep 2016 22:18:17 +0000 (22:18 +0000)]
docs: update docs for uses-feature element
am: b463a6db08

Change-Id: I51394b88aec2716551ddfe329bf9a9726e156739

7 years agoMerge "docs: Add param info to TextView.setTextColor" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 22:16:40 +0000 (22:16 +0000)]
Merge "docs: Add param info to TextView.setTextColor" into nyc-dev
am: 7df8927691

Change-Id: Ibcb55559a05d383182870e5f38fe9432e22cf526

7 years agodocs: Add param info to TextView.setTextColor
Mark Lu [Fri, 23 Sep 2016 22:16:37 +0000 (22:16 +0000)]
docs: Add param info to TextView.setTextColor
am: 193879a8b6

Change-Id: I5b157858dd056b2510486ad7546ab74e1287005c

7 years agoMerge "Fix wake lock logic during Dream startup" into nyc-mr1-dev
Adrian Roos [Fri, 23 Sep 2016 22:13:54 +0000 (22:13 +0000)]
Merge "Fix wake lock logic during Dream startup" into nyc-mr1-dev

7 years agoFix wake lock logic during Dream startup
Adrian Roos [Fri, 23 Sep 2016 21:08:09 +0000 (14:08 -0700)]
Fix wake lock logic during Dream startup

Fixes a crash that would happen in all dreams
that did not have permission to acquire wake locks.
Instead moves the wake lock logic into the system
process. Also fixes a bug in DozeService where the
wake lock was not held until dozing was actually
properly initialized.

Fixes: 31612287
Bug: 31044352
Related-CL: I85955a2b7d6bad5171accbc336117a9660b1b198
Test: adb shell settings put secure screensaver_components com.android.dreams.basic/.Colors; adb shell service call dreams 1

Change-Id: Idb3f921ee71b6da6c2ab0c44c332ef91f93ddbc0

7 years agoMerge "docs: update javadoc description for View.setVisibility() method" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 22:10:36 +0000 (22:10 +0000)]
Merge "docs: update javadoc description for View.setVisibility() method" into nyc-dev

7 years agoMerge "docs: update docs for uses-feature element" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 22:10:19 +0000 (22:10 +0000)]
Merge "docs: update docs for uses-feature element" into nyc-dev

7 years agoMerge "docs: Add param info to TextView.setTextColor" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 22:09:31 +0000 (22:09 +0000)]
Merge "docs: Add param info to TextView.setTextColor" into nyc-dev

7 years agoMerge "docs: Mention SwitchCompat in Switch and toggle documentation" into nyc-dev...
Mark Lu [Fri, 23 Sep 2016 21:59:28 +0000 (21:59 +0000)]
Merge "docs:  Mention SwitchCompat in Switch and toggle documentation" into nyc-dev am: c6a1076e40
am: 95ca35f4ff

Change-Id: I6cbf5d6bd0881c51ea5f730550c6b5708e6bcdb3

7 years agodocs: Mention SwitchCompat in Switch and toggle documentation am: 3404032dfc
Mark Lu [Fri, 23 Sep 2016 21:58:21 +0000 (21:58 +0000)]
docs:  Mention SwitchCompat in Switch and toggle documentation am: 3404032dfc
am: 902fb28784

Change-Id: I67ad867bdad8634437fe6779e027001355bbc6ae

7 years agoMerge "docs: Mention SwitchCompat in Switch and toggle documentation" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 21:52:32 +0000 (21:52 +0000)]
Merge "docs:  Mention SwitchCompat in Switch and toggle documentation" into nyc-dev
am: c6a1076e40

Change-Id: Iafe629eba6bb9e7d2c6373ef1ffa78b52cac709f

7 years agodocs: Mention SwitchCompat in Switch and toggle documentation
Mark Lu [Fri, 23 Sep 2016 21:52:30 +0000 (21:52 +0000)]
docs:  Mention SwitchCompat in Switch and toggle documentation
am: 3404032dfc

Change-Id: I1df8dd7f48f095a93aaff120b0f86e2ccc6467fd

7 years agoMerge changes If9baf6db,Idc6c5d7d into nyc-mr1-dev
Selim Cinek [Fri, 23 Sep 2016 21:52:10 +0000 (21:52 +0000)]
Merge changes If9baf6db,Idc6c5d7d into nyc-mr1-dev

* changes:
  Fix DismissView cannot be clicked sometimes after boot
  Fix RTL issue of ImageFloatingTextView

7 years agoMerge changes If7c3a55e,I68dcba41,Ib96a15da into nyc-mr1-dev
Selim Cinek [Fri, 23 Sep 2016 21:51:19 +0000 (21:51 +0000)]
Merge changes If7c3a55e,I68dcba41,Ib96a15da into nyc-mr1-dev

* changes:
  Fixed a bug where the dimmed background could be invisible
  Fixed an issue where the inline controls where not usable
  Added Emergency affordance feature

7 years agoMerge "docs: Mention SwitchCompat in Switch and toggle documentation" into nyc-dev
Mark Lu [Fri, 23 Sep 2016 21:47:27 +0000 (21:47 +0000)]
Merge "docs:  Mention SwitchCompat in Switch and toggle documentation" into nyc-dev

7 years agoMerge "docs: Removed two images that were moved to Piper in April" into nyc-dev am...
Andrew Solovay [Fri, 23 Sep 2016 21:31:44 +0000 (21:31 +0000)]
Merge "docs: Removed two images that were moved to Piper in April" into nyc-dev am: ddcf2deb14
am: 4e7bb2a653

Change-Id: I4e6dba245eb10b47f9e342c99e5de4d904cbe834

7 years agodocs: Removed two images that were moved to Piper in April am: f955d4cd9f
Andrew Solovay [Fri, 23 Sep 2016 21:30:53 +0000 (21:30 +0000)]
docs: Removed two images that were moved to Piper in April am: f955d4cd9f
am: 430cac7c81

Change-Id: I57500df20a59797b4d03143c5272ee1ffb99db10

7 years agoMerge "docs: Removed two images that were moved to Piper in April" into nyc-dev
Andrew Solovay [Fri, 23 Sep 2016 21:25:22 +0000 (21:25 +0000)]
Merge "docs: Removed two images that were moved to Piper in April" into nyc-dev
am: ddcf2deb14

Change-Id: Ic467b0a3389dbb8e1428f301a2e842d427134720

7 years agodocs: Removed two images that were moved to Piper in April
Andrew Solovay [Fri, 23 Sep 2016 21:25:21 +0000 (21:25 +0000)]
docs: Removed two images that were moved to Piper in April
am: f955d4cd9f

Change-Id: I9d4d814b765539b5dec691bddadfb6658d1c976f

7 years agoMerge "docs: Removed two images that were moved to Piper in April" into nyc-dev
Andrew Solovay [Fri, 23 Sep 2016 21:15:28 +0000 (21:15 +0000)]
Merge "docs: Removed two images that were moved to Piper in April" into nyc-dev

7 years agoMerge "ResolverComparator transitivity" into nyc-mr1-dev
TreeHugger Robot [Fri, 23 Sep 2016 20:33:52 +0000 (20:33 +0000)]
Merge "ResolverComparator transitivity" into nyc-mr1-dev

7 years agoMerge "Updated summary logic for wifi" into nyc-mr1-dev
Salvador Martinez [Fri, 23 Sep 2016 20:24:11 +0000 (20:24 +0000)]
Merge "Updated summary logic for wifi" into nyc-mr1-dev

7 years agoFix DismissView cannot be clicked sometimes after boot
Dong-wan Kim [Wed, 21 Sep 2016 20:08:30 +0000 (13:08 -0700)]
Fix DismissView cannot be clicked sometimes after boot

mActivePointerId should be initialized to INVALID_POINTER.
Otherwise, the click event to DismissView can be intercepted by
onInterceptTouchEventScroll() due to wrong calculated value of yDiff
when mActivePointerId is not intialized.

This issue can be reproduced at the first click to DismissView while
user have not touched any notification views ever after boot.
And that click event must contains some MOVE events.

Test: manual - Check whether user always can click DismissView
               after boot.
Fixes: 31649735
Change-Id: If9baf6db1b891a58e17153806d52d395ddd661df

7 years agoFix RTL issue of ImageFloatingTextView
dongwan0605.kim [Fri, 16 Sep 2016 07:26:57 +0000 (16:26 +0900)]
Fix RTL issue of ImageFloatingTextView

Sometimes, makeSingleLayout() can be invoked before layout direction is resolved.
When not resolved, it indents in LTR layout although it should be RTL.

So, to guarantee the exact indenting, we should re-build the text layout
when the layout direction is changed.

Test: manual - Test BigTextStyle notifications with LargeIcon under RTL configurations.
Fixes: 31633875
Change-Id: Idc6c5d7d41632cb9e1b70d9c67c13852e3f25023

7 years agoMerge "QS: Don't show graph or warning text when not present" into nyc-mr1-dev
TreeHugger Robot [Fri, 23 Sep 2016 19:52:37 +0000 (19:52 +0000)]
Merge "QS: Don't show graph or warning text when not present" into nyc-mr1-dev

7 years agoMerge "Remove location tile from the list of default-enabled QuickSettings tiles...
William Harmon [Fri, 23 Sep 2016 19:40:51 +0000 (19:40 +0000)]
Merge "Remove location tile from the list of default-enabled QuickSettings tiles" into nyc-mr1-dev

7 years agoMerge "Allow developer to override Material-style modes in picker dialogs" into nyc...
Alan Viverette [Fri, 23 Sep 2016 19:29:50 +0000 (19:29 +0000)]
Merge "Allow developer to override Material-style modes in picker dialogs" into nyc-mr1-dev

7 years agoRemove location tile from the list of default-enabled QuickSettings tiles
Will Harmon [Thu, 22 Sep 2016 00:55:01 +0000 (17:55 -0700)]
Remove location tile from the list of default-enabled QuickSettings tiles

Fixes: 31708103
Change-Id: I0218beee23199df2e6969e3e858294e65db6c0f8

7 years agoUpdate/correct Drag and Drop docs.
Vadim Tryshev [Fri, 23 Sep 2016 01:26:09 +0000 (18:26 -0700)]
Update/correct Drag and Drop docs.

This CL reflects the N MR1 behavior and
fixes some bugs.

Defining the compatibility behavior will be
done separately.

Bug: 31702571
Change-Id: I2a79871f47849f9f5a9c3377a3061208488e6ecb

7 years agoQS: Don't show graph or warning text when not present
Jason Monk [Fri, 23 Sep 2016 18:18:19 +0000 (14:18 -0400)]
QS: Don't show graph or warning text when not present

Change-Id: Ic2cfcc0716a70a3d577d17e5af9c5d1f7f8fd4c6
Fixes: 30694497
Fixes: 30898011

7 years agoRevert "Change bang to x for indication of no internet"
Jason Monk [Fri, 23 Sep 2016 17:54:11 +0000 (17:54 +0000)]
Revert "Change bang to x for indication of no internet"

This reverts commit d67fbe62018c9a0c30d69091a17e32aaff215734.
Fixes: 31271895

Change-Id: Ief00046dde1309fb66e3284b1c57264882297ad9

7 years agoResolverComparator transitivity
Adam Powell [Fri, 23 Sep 2016 17:32:04 +0000 (10:32 -0700)]
ResolverComparator transitivity

Fix a bug where ResolverComparator's results were not consistent for
targets that cross profile boundaries.

Bug: 31640894
Change-Id: Ic6bf9512d2c2eb6f8fb7851e18eb9a347db29755

7 years agoMerge "Enable shader cache for applications that shared UID with multiple packages...
Miao Wang [Fri, 23 Sep 2016 17:28:51 +0000 (17:28 +0000)]
Merge "Enable shader cache for applications that shared UID with multiple packages too" into nyc-mr1-dev

7 years agoUpdated summary logic for wifi
Salvador Martinez [Fri, 23 Sep 2016 15:54:20 +0000 (08:54 -0700)]
Updated summary logic for wifi

Wifi summary claimed it would not
reconnect under conditions where it should.
This has been changed to properly say when an
AP will automatically be reconnected to.

Test: make RunSettingsLibRoboTests
Bug: 29973023
Change-Id: I2ffb4ec3b83e93c3df9ee179fc6a6bf59acec42e

7 years agoMerge "Fix DPM unit tests, also fix a log message." into nyc-mr1-dev
Makoto Onuki [Fri, 23 Sep 2016 15:34:37 +0000 (15:34 +0000)]
Merge "Fix DPM unit tests, also fix a log message." into nyc-mr1-dev

7 years agoMerge "Fingerprint Strong auth timeout" into nyc-mr1-dev
Michal Karpinski [Fri, 23 Sep 2016 07:01:48 +0000 (07:01 +0000)]
Merge "Fingerprint Strong auth timeout" into nyc-mr1-dev

7 years agoMerge "IpConnectivityLog uses new metrics service" into nyc-mr1-dev
Hugo Benichi [Fri, 23 Sep 2016 04:43:21 +0000 (04:43 +0000)]
Merge "IpConnectivityLog uses new metrics service" into nyc-mr1-dev

7 years agoMerge "Restrict access to background networks to CHANGE_NETWORK_STATE." into nyc...
TreeHugger Robot [Fri, 23 Sep 2016 03:51:13 +0000 (03:51 +0000)]
Merge "Restrict access to background networks to CHANGE_NETWORK_STATE." into nyc-mr1-dev

7 years agoMerge "New IpConnectivityMetrics service" into nyc-mr1-dev
TreeHugger Robot [Fri, 23 Sep 2016 03:44:26 +0000 (03:44 +0000)]
Merge "New IpConnectivityMetrics service" into nyc-mr1-dev

7 years agoRestrict access to background networks to CHANGE_NETWORK_STATE.
Lorenzo Colitti [Thu, 28 Jul 2016 08:14:11 +0000 (17:14 +0900)]
Restrict access to background networks to CHANGE_NETWORK_STATE.

When a network goes into the background, tell netd to set the
network's permission to NETWORK. Also, close all TCP sockets on
that network, to prevent long-lived TCP connections from staying
on it and possibly continuing to use metered data.

Bug: 23113288
Change-Id: Ie89c1940b6739160e25c6e9022b8b977afb3e16e

7 years agoMerge "Limit LOCALE_CHANGED broadcast when init'ing." into nyc-mr1-dev
TreeHugger Robot [Fri, 23 Sep 2016 00:41:26 +0000 (00:41 +0000)]
Merge "Limit LOCALE_CHANGED broadcast when init'ing." into nyc-mr1-dev

7 years agoMerge "Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind" into nyc-mr1-dev
TreeHugger Robot [Fri, 23 Sep 2016 00:09:40 +0000 (00:09 +0000)]
Merge "Removed MESSAGE_BIND_PROFILE_SERVICE messages on unbind" into nyc-mr1-dev

7 years agoMerge "Add ipconnectivity.proto to services jar" into nyc-mr1-dev
Hugo Benichi [Thu, 22 Sep 2016 23:37:20 +0000 (23:37 +0000)]
Merge "Add ipconnectivity.proto to services jar" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 23:33:25 +0000 (23:33 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65  -s ours am: 2cd4383c31 am: 09edfde074 am: 1ab448b5d5 am: 5b649ddcc6  -s ours am: e36701214a
am: aec37971b2

Change-Id: I598bd69e76fba210387971a0a8c6841cadf70101

7 years agoMerge "ConnectivityMetricsLoggerTest" into nyc-mr1-dev
Hugo Benichi [Thu, 22 Sep 2016 23:29:40 +0000 (23:29 +0000)]
Merge "ConnectivityMetricsLoggerTest" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 23:20:47 +0000 (23:20 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65  -s ours am: 2cd4383c31 am: 09edfde074 am: 1ab448b5d5 am: 5b649ddcc6  -s ours
am: e36701214a

Change-Id: I648f67d04ae9fd74ea0ea06f47ffea5abde042f9

7 years agoFixed a bug where the dimmed background could be invisible
Selim Cinek [Thu, 22 Sep 2016 23:19:42 +0000 (16:19 -0700)]
Fixed a bug where the dimmed background could be invisible

Test: Notification group with 2 children on shade locked. Swipe 1 away and go to lockscreen
Change-Id: If7c3a55e220579eb27036f31d59b222371d2bf8e
Fixes: 31524202

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am:...
Jaewan Kim [Thu, 22 Sep 2016 23:16:51 +0000 (23:16 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be  -s ours am: e9a9e2f055 am: 351aa0b320 am: 03bad07418 am: afab98a69e  -s ours am: 738c21253a
am: 4c7df4ba37

Change-Id: I4db0a7cfa9a8177ef195ff5fad9448f3fb2b6fc8

7 years agoMerge "Add RadioAccessFamily rank" into nyc-mr1-dev
Brad Ebinger [Thu, 22 Sep 2016 23:10:03 +0000 (23:10 +0000)]
Merge "Add RadioAccessFamily rank" into nyc-mr1-dev

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am:...
Jaewan Kim [Thu, 22 Sep 2016 23:08:41 +0000 (23:08 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be  -s ours am: e9a9e2f055 am: 351aa0b320 am: 03bad07418 am: afab98a69e  -s ours
am: 738c21253a

Change-Id: I789e62154186ed42449cd1904d906778a1ea364b

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 23:08:24 +0000 (23:08 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65  -s ours am: 2cd4383c31 am: 09edfde074 am: 1ab448b5d5
am: 5b649ddcc6  -s ours

Change-Id: I7de1101955e5152cd1fb5858ac93c9e94697b01b

7 years agoLimit LOCALE_CHANGED broadcast when init'ing.
Jeff Sharkey [Thu, 22 Sep 2016 22:42:55 +0000 (16:42 -0600)]
Limit LOCALE_CHANGED broadcast when init'ing.

Immediately when a device finishes booting, retrieveSettings() will
read out the current configuration details, including locale.  At
that point mProcessesReady has been set, meaning third-party apps can
be launched.  But we haven't started persistent apps yet!

If you have a persistent app (like com.android.phone) which also has
a somewhat related app (like com.android.stk) merged into the same
process, the LOCALE_CHANGED broadcast could start the process pointing
at an unexpected code/data location.

This change avoids this by only sending LOCALE_CHANGED broadcasts to
registered receivers (no manifest receivers) when the locale is being
read for the first time (initLocale).

Test: booted device with locked SIM
Bug: 31665819
Change-Id: I977a596501c6ba492005f98a2367e4b9f67e2dba

7 years agoMerge "SurfaceView: Force surface disconnection before reuse." into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 22:52:13 +0000 (22:52 +0000)]
Merge "SurfaceView: Force surface disconnection before reuse." into nyc-mr1-dev

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am:...
Jaewan Kim [Thu, 22 Sep 2016 22:51:23 +0000 (22:51 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be  -s ours am: e9a9e2f055 am: 351aa0b320 am: 03bad07418
am: afab98a69e  -s ours

Change-Id: I8ddca6c69539eb9cc568e5fcec011a3c58450fcc

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 22:40:32 +0000 (22:40 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65  -s ours am: 2cd4383c31 am: 09edfde074
am: 1ab448b5d5

Change-Id: I4a1da4793ef9c53447742ea9e1f7a34fbffb8807

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am:...
Jaewan Kim [Thu, 22 Sep 2016 22:39:30 +0000 (22:39 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be  -s ours am: e9a9e2f055 am: 351aa0b320
am: 03bad07418

Change-Id: Ia687cf7aa14eb11452d390d47bc13ba4dfba0cda

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 22:27:37 +0000 (22:27 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65  -s ours am: 2cd4383c31
am: 09edfde074

Change-Id: I8365e943aab82305fbc5775e8044dc7f014c0cdc

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am:...
Jaewan Kim [Thu, 22 Sep 2016 22:26:12 +0000 (22:26 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be  -s ours am: e9a9e2f055
am: 351aa0b320

Change-Id: I4cfe42fedcde6f49f259686481bfe61660d02bfc

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 22:21:52 +0000 (22:21 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81 am: 585f642d65  -s ours
am: 2cd4383c31

Change-Id: I0e6d2e4c60383c95a4a73bccfdb12472152e86a0

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9 am:...
Jaewan Kim [Thu, 22 Sep 2016 22:20:54 +0000 (22:20 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9 am: ed3e26e2be  -s ours
am: e9a9e2f055

Change-Id: Iaa0f0e473c9e2389c75c5d4dd9b4ff5e244ba442

7 years agoMerge "Don't halt movement notifications when display is frozen." into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 22:17:32 +0000 (22:17 +0000)]
Merge "Don't halt movement notifications when display is frozen." into nyc-mr1-dev

7 years agoMerge "Merge "DO NOT MERGE Check caller for sending media key to telephony service...
Android Build Merger (Role) [Thu, 22 Sep 2016 22:14:42 +0000 (22:14 +0000)]
Merge "Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894 am: 84ecab6059  -s ours am: 5ac79fa0a1  -s ours am: 890f53a486 am: 1bf809c490 am: 6ad7c0f6ce  -s ours am: 1c278e5652 am: bed7636243 am: dd883c7e87 am: 832179120f  -s ours am: c547eeda12 am: f91952879c" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 22:11:50 +0000 (22:11 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894 am: 84ecab6059  -s ours am: 5ac79fa0a1  -s ours am: 890f53a486 am: 1bf809c490 am: 6ad7c0f6ce  -s ours am: 1c278e5652 am: bed7636243 am: dd883c7e87 am: 832179120f  -s ours am: c547eeda12
am: f91952879c

Change-Id: I35d46dce73a7a794906301214f54f743a22b5f6a

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service am: d1641...
Android Build Merger (Role) [Thu, 22 Sep 2016 22:11:28 +0000 (22:11 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27 am: 9477c1674c am: 27d24e01cb  -s ours am: 8dffbcd169  -s ours am: f140f796ea am: 7eaeeb49bb am: 7ffaaca237  -s ours am: fa9983ec73 am: 900d1c90b3 am: 0e31d93890 am: 4da22f27f6  -s ours am: 36068a2f00 am: 949c938317" into nyc-mr1-dev

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27...
Jaewan Kim [Thu, 22 Sep 2016 22:10:39 +0000 (22:10 +0000)]
DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27 am: 9477c1674c am: 27d24e01cb  -s ours am: 8dffbcd169  -s ours am: f140f796ea am: 7eaeeb49bb am: 7ffaaca237  -s ours am: fa9983ec73 am: 900d1c90b3 am: 0e31d93890 am: 4da22f27f6  -s ours am: 36068a2f00
am: 949c938317

Change-Id: I49a3b4a43b0f84df33c1f1d4a68d2dea4c44ce8b

7 years agoMerge "Fix crash in clearWallpaper()" into nyc-mr1-dev
Chris Tate [Thu, 22 Sep 2016 22:10:11 +0000 (22:10 +0000)]
Merge "Fix crash in clearWallpaper()" into nyc-mr1-dev

7 years agoMerge "Don't take app screenshot in minimize docked stack." into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 22:09:24 +0000 (22:09 +0000)]
Merge "Don't take app screenshot in minimize docked stack." into nyc-mr1-dev

7 years agoMerge "Add hidden intent extra about service availability" into nyc-mr1-dev
Chris Tate [Thu, 22 Sep 2016 21:58:27 +0000 (21:58 +0000)]
Merge "Add hidden intent extra about service availability" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 21:57:25 +0000 (21:57 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894 am: 84ecab6059  -s ours am: 5ac79fa0a1  -s ours am: 890f53a486 am: 1bf809c490 am: 6ad7c0f6ce  -s ours am: 1c278e5652 am: bed7636243 am: dd883c7e87 am: 832179120f  -s ours
am: c547eeda12

Change-Id: I883bb3f96212f7f25d3aa2310e559ec2b6cc063c

7 years agoMerge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452 -s ours am: ded4df2e79...
Jaewan Kim [Thu, 22 Sep 2016 21:56:51 +0000 (21:56 +0000)]
Merge "DO NOT MERGE Fix build" into lmp-dev am: fce3b76452  -s ours am: ded4df2e79 am: 462493ee81
am: 585f642d65  -s ours

Change-Id: Ibbc592cb5fc2b035b87cbb89dcf5dee085c63e14

7 years agoDO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27...
Jaewan Kim [Thu, 22 Sep 2016 21:56:29 +0000 (21:56 +0000)]
DO NOT MERGE Check caller for sending media key to telephony service am: d1641e8c27 am: 9477c1674c am: 27d24e01cb  -s ours am: 8dffbcd169  -s ours am: f140f796ea am: 7eaeeb49bb am: 7ffaaca237  -s ours am: fa9983ec73 am: 900d1c90b3 am: 0e31d93890 am: 4da22f27f6  -s ours
am: 36068a2f00

Change-Id: I64859a44f3c4219cfbfd3bde284be5e6d55025c3

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Thu, 22 Sep 2016 21:56:04 +0000 (21:56 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev am: c119a677c4 am: 35d1b45b0f am: dc0f9fa9c9  -s ours am: 8919cc83bb  -s ours am: 0241b6d88a am: 0fee65e58b am: 08fed21f2c  -s ours am: 0029d03c0a am: afeaced48f am: 2a214fc5f2 am: 0ec10c8fdc  -s ours am: 916552b0c9
am: b937fdbbe8

Change-Id: I54f3952cfea82733b1c6312ce161e6d12aa94c2b

7 years agoDO NOT MERGE Fix build am: dfedca4e43 -s ours am: 499871ebe9 am: 3ea1f124f9
Jaewan Kim [Thu, 22 Sep 2016 21:55:51 +0000 (21:55 +0000)]
DO NOT MERGE Fix build am: dfedca4e43  -s ours am: 499871ebe9 am: 3ea1f124f9
am: ed3e26e2be  -s ours

Change-Id: Ie4fd67251243bba5f6c39320b752cd1cb9f8987e

7 years agoMerge "Defer launching next task until after first layout." into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 21:26:00 +0000 (21:26 +0000)]
Merge "Defer launching next task until after first layout." into nyc-mr1-dev

7 years agodocs: Removed two images that were moved to Piper in April
Andrew Solovay [Thu, 22 Sep 2016 21:24:57 +0000 (14:24 -0700)]
docs: Removed two images that were moved to Piper in April

Scott had migrated these graphics to Piper in April, but they've
stayed in Gerrit. These graphics had been updated in Gerrit since
then, so they got out of sync with Piper.

Set up Critique CL cr/133998971 to migrate the latest versions
to Piper (and sent to Scott for review); setting up a separate
CL here to remove the files, so they won't accidentally get
edited in the wrong place again.

Change-Id: Ice9dda71ae3604b1fc3aab15746dc41e759b80a6

7 years agoMerge "Avoid entering display freeze mode when using seamless rotation." into nyc...
TreeHugger Robot [Thu, 22 Sep 2016 21:22:46 +0000 (21:22 +0000)]
Merge "Avoid entering display freeze mode when using seamless rotation." into nyc-mr1-dev

7 years agoMerge "Fix animation glitch with overlapping orientation changes." into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 21:22:20 +0000 (21:22 +0000)]
Merge "Fix animation glitch with overlapping orientation changes." into nyc-mr1-dev

7 years agoMerge "Fixing index bounds exception when TaskViews are added while dismissing."...
TreeHugger Robot [Thu, 22 Sep 2016 21:09:21 +0000 (21:09 +0000)]
Merge "Fixing index bounds exception when TaskViews are added while dismissing." into nyc-mr1-dev

7 years agoFixed an issue where the inline controls where not usable
Selim Cinek [Thu, 22 Sep 2016 21:03:41 +0000 (14:03 -0700)]
Fixed an issue where the inline controls where not usable

Because the calculation whether a touch is on a view was incorrect
the inline controlls would always close on tablets when interacting
with them.

Change-Id: I68dcba411b34def32a044f5a4d73b396f74e9730
Fixes: 31502625

7 years agoMerge "Fixing RTL issues with transition and screen pinning." into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 21:01:09 +0000 (21:01 +0000)]
Merge "Fixing RTL issues with transition and screen pinning." into nyc-mr1-dev

7 years agoMerge "Pass url to the AIA supervisor" into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 20:56:13 +0000 (20:56 +0000)]
Merge "Pass url to the AIA supervisor" into nyc-mr1-dev

7 years agoMerge "Recursively restorecon when SELinux label changes." into nyc-mr1-dev
Jeff Sharkey [Thu, 22 Sep 2016 20:40:08 +0000 (20:40 +0000)]
Merge "Recursively restorecon when SELinux label changes." into nyc-mr1-dev

7 years agoMerge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed...
Ajay Panicker [Thu, 22 Sep 2016 20:35:06 +0000 (20:35 +0000)]
Merge "[DO NOT MERGE] Prevent FDs from being leaked when accepted sockets are closed" into klp-dev am: c119a677c4 am: 35d1b45b0f am: dc0f9fa9c9  -s ours am: 8919cc83bb  -s ours am: 0241b6d88a am: 0fee65e58b am: 08fed21f2c  -s ours am: 0029d03c0a am: afeaced48f am: 2a214fc5f2 am: 0ec10c8fdc  -s ours
am: 916552b0c9

Change-Id: I50571a7570a8f98d2e1b473694534ac478b060b7

7 years agoMerge "DO NOT MERGE Check caller for sending media key to telephony service" into...
Jaewan Kim [Thu, 22 Sep 2016 20:35:00 +0000 (20:35 +0000)]
Merge "DO NOT MERGE Check caller for sending media key to telephony service" into klp-dev am: 5b05226586 am: b38fbf9894 am: 84ecab6059  -s ours am: 5ac79fa0a1  -s ours am: 890f53a486 am: 1bf809c490 am: 6ad7c0f6ce  -s ours am: 1c278e5652 am: bed7636243 am: dd883c7e87
am: 832179120f  -s ours

Change-Id: Iefcfa52c1a34b05102c7188b3e7232584cffba53