OSDN Git Service

android-x86/frameworks-base.git
7 years agoPrevent triggering orientation changes until previous completes.
Robert Carr [Thu, 6 Oct 2016 20:32:02 +0000 (20:32 +0000)]
Prevent triggering orientation changes until previous completes.
am: 45f6a2718a

Change-Id: I3a2a916d9e9d1eb38b990f8ea33201762298770c

7 years agoMerge "QS: Don't set flashlight state when we don't have an id" into nyc-mr1-dev
Jason Monk [Thu, 6 Oct 2016 20:30:49 +0000 (20:30 +0000)]
Merge "QS: Don't set flashlight state when we don't have an id" into nyc-mr1-dev
am: 3523728e77

Change-Id: I17a43a11ce391249d6ae3c3066024ee04b09468f

7 years agoQS: Don't set flashlight state when we don't have an id
Jason Monk [Thu, 6 Oct 2016 20:30:44 +0000 (20:30 +0000)]
QS: Don't set flashlight state when we don't have an id
am: ad32c550c0

Change-Id: I222d528ff37cc835bbcb66eb650954c49e5af935

7 years agoMerge "Add "FILTER_NOT_HIDE" to filter out the apps." into nyc-mr1-dev
Lei Yu [Thu, 6 Oct 2016 20:29:00 +0000 (20:29 +0000)]
Merge "Add "FILTER_NOT_HIDE" to filter out the apps." into nyc-mr1-dev
am: 3fd73a645a

Change-Id: I0328ef193a3c8e5686529245dcd181f9fa47b391

7 years agoAdd "FILTER_NOT_HIDE" to filter out the apps.
jackqdyulei [Thu, 6 Oct 2016 20:26:45 +0000 (20:26 +0000)]
Add "FILTER_NOT_HIDE" to filter out the apps.
am: 4bf191ca75

Change-Id: I96ad716830dc857091b8f66c9631d217a95b70b4

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 6 Oct 2016 20:25:02 +0000 (20:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: e03f970ab4  -s ours

Change-Id: Id98b3d6c2ced3b7734021533d8ff4acc24023acd

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 20:24:55 +0000 (20:24 +0000)]
Import translations. DO NOT MERGE
am: cf2df3bb6e  -s ours

Change-Id: I52604a81767fbf9dd7aacb81daed530666836c67

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 6 Oct 2016 20:23:51 +0000 (20:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: f22cb06b4d  -s ours

Change-Id: Idc27632cf8baf85e2fcb39c34e4bfe2640c57646

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 20:23:48 +0000 (20:23 +0000)]
Import translations. DO NOT MERGE
am: 49baec862b  -s ours

Change-Id: I16dbe5ccdda50634607e20c212d8c454974faba5

7 years agoMerge "Reload state when user unlocks" into nyc-mr1-dev
Jorim Jaggi [Thu, 6 Oct 2016 20:22:39 +0000 (20:22 +0000)]
Merge "Reload state when user unlocks" into nyc-mr1-dev
am: a92006ef6c

Change-Id: Iec8c618187b902a8837562f560bb661bd33aa569

7 years agoReload state when user unlocks
Jorim Jaggi [Thu, 6 Oct 2016 20:22:36 +0000 (20:22 +0000)]
Reload state when user unlocks
am: dadafd4109

Change-Id: I3480bdb8ea1a6f5a74f6a1a40a19634d53f86b00

7 years agoMerge changes from topic 'avoidbadwifi' into nyc-dr1-dev am: 291af5c568
Lorenzo Colitti [Thu, 6 Oct 2016 20:20:27 +0000 (20:20 +0000)]
Merge changes from topic 'avoidbadwifi' into nyc-dr1-dev am: 291af5c568
am: 80f15e3b4c

Change-Id: Id92e4d2d5236107f3d88bc300066bab747804be1

7 years agoIgnore loss of IPv6 provisioning when not avoiding bad Wi-Fi. am: f11ee9f592
Lorenzo Colitti [Thu, 6 Oct 2016 20:19:36 +0000 (20:19 +0000)]
Ignore loss of IPv6 provisioning when not avoiding bad Wi-Fi. am: f11ee9f592
am: d2ad8ece53

Change-Id: Id152486610dd29d0839b06bcc45069643b0e335c

7 years agoSlightly simplify IpManager#compareProvisioning. am: b77b775213
Lorenzo Colitti [Thu, 6 Oct 2016 20:18:28 +0000 (20:18 +0000)]
Slightly simplify IpManager#compareProvisioning. am: b77b775213
am: fdac9b608b

Change-Id: Ia89fe49084e94a0299c54f55660b1cfa6a92cc7f

7 years agoConditionally accept loss of on-link IPv6 DNS servers am: 5b437d6ff9
Erik Kline [Thu, 6 Oct 2016 20:17:45 +0000 (20:17 +0000)]
Conditionally accept loss of on-link IPv6 DNS servers am: 5b437d6ff9
am: d719d95139

Change-Id: I19bf8a4251d03d2648972a820b365c1c3e4996e3

7 years agoRefactor "avoid bad wifi" logic into a utility class am: 065ab6ee40
Erik Kline [Thu, 6 Oct 2016 20:16:57 +0000 (20:16 +0000)]
Refactor "avoid bad wifi" logic into a utility class am: 065ab6ee40
am: 23cdacbec6

Change-Id: Id670d13b99ab6935b67335e19d2389e5b4f61111

7 years agoMerge "Restrict AVD and VD parsing to the current element instead of the whole docume...
Doris Liu [Thu, 6 Oct 2016 20:15:46 +0000 (20:15 +0000)]
Merge "Restrict AVD and VD parsing to the current element instead of the whole document" into nyc-mr1-dev
am: 8d4c87b0bf

Change-Id: Id887a0665caab2d196e7e70c7c0c307d476da3ba

7 years agoRestrict AVD and VD parsing to the current element instead of the whole document
Doris Liu [Thu, 6 Oct 2016 20:15:40 +0000 (20:15 +0000)]
Restrict AVD and VD parsing to the current element instead of the whole document
am: 1f859716a8

Change-Id: Ic2fe385089997f89675be8f8a1559db979387dbb

7 years agoMerge "Update JavaDoc about animatable on VectorDrawable" into nyc-mr1-dev
Tenghui Zhu [Thu, 6 Oct 2016 20:14:28 +0000 (20:14 +0000)]
Merge "Update JavaDoc about animatable on VectorDrawable" into nyc-mr1-dev
am: 99224b311c

Change-Id: If59f1d136a96dbfb83311f99f7e08dff8927e72d

7 years agoUpdate JavaDoc about animatable on VectorDrawable
Teng-Hui Zhu [Thu, 6 Oct 2016 20:14:23 +0000 (20:14 +0000)]
Update JavaDoc about animatable on VectorDrawable
am: bb12929470

Change-Id: I476d1416b0f734fbc87895c22de3e95efdbf25b9

7 years agoMerge "Fix thread race caused double free issue." into nyc-mr1-dev
Adam Lesinski [Thu, 6 Oct 2016 20:13:05 +0000 (20:13 +0000)]
Merge "Fix thread race caused double free issue." into nyc-mr1-dev
am: 68ec3695d0

Change-Id: I7b13469b249e5a159e3be9d1ee264f2616ebcd22

7 years agoFix thread race caused double free issue.
songjinshi [Thu, 6 Oct 2016 20:13:00 +0000 (20:13 +0000)]
Fix thread race caused double free issue.
am: 5754b41c20

Change-Id: Ic9dd6e9c6d216753d997da99158816682d5464d1

7 years agoDocs: Wear preview 3 - tweaks to gradle snippet am: 70c6411a10 am: 19404c6f93
Bert McMeen [Thu, 6 Oct 2016 20:12:08 +0000 (20:12 +0000)]
Docs: Wear preview 3 - tweaks to gradle snippet am: 70c6411a10 am: 19404c6f93
am: 20cf00152d

Change-Id: I55a7ee1cb4716de818d125bd168820838d323a17

7 years agoMerge "Explicitly close FD binder parameters in backup/restore API calls" into nyc...
Chris Tate [Thu, 6 Oct 2016 20:11:01 +0000 (20:11 +0000)]
Merge "Explicitly close FD binder parameters in backup/restore API calls" into nyc-mr1-dev
am: ee28c8c22c

Change-Id: I51884bab34d7e0bd33e19c8cdfd780572880f96f

7 years agoExplicitly close FD binder parameters in backup/restore API calls
Christopher Tate [Thu, 6 Oct 2016 20:10:56 +0000 (20:10 +0000)]
Explicitly close FD binder parameters in backup/restore API calls
am: 91bb0e5cca

Change-Id: Ibdba35d9c4e17180a7593966b4d54d6fb9c03f02

7 years agoMerge "Make magnification ignore invisible wallpaper." into nyc-mr1-dev
Phil Weaver [Thu, 6 Oct 2016 20:09:42 +0000 (20:09 +0000)]
Merge "Make magnification ignore invisible wallpaper." into nyc-mr1-dev
am: 8051c9222e

Change-Id: I4d4338d71140773df82f89c4fa67dcf8ee004d4c

7 years agoMake magnification ignore invisible wallpaper.
Phil Weaver [Thu, 6 Oct 2016 20:09:37 +0000 (20:09 +0000)]
Make magnification ignore invisible wallpaper.
am: 473af05b82

Change-Id: Ie40d7eda7b36d8613e1dd035d9446c4239e20193

7 years agoMerge "Fix issue #31403654: Elevation of privilege vulnerability in deviceidle servic...
Dianne Hackborn [Thu, 6 Oct 2016 20:07:57 +0000 (20:07 +0000)]
Merge "Fix issue #31403654: Elevation of privilege vulnerability in deviceidle service" into nyc-mr1-dev
am: c26c98cd4a

Change-Id: I0024a7927ec686fd147ce5a1a477eb85c50e19a7

7 years agoFix issue #31403654: Elevation of privilege vulnerability in deviceidle service
Dianne Hackborn [Thu, 6 Oct 2016 20:07:41 +0000 (20:07 +0000)]
Fix issue #31403654: Elevation of privilege vulnerability in deviceidle service
am: eb909e3cda

Change-Id: Ibbc6447d97c54b7393e557a831f0767edaea9b40

7 years agoMerge "Add metrics logging for critical fingerprintd errors" into nyc-mr1-dev
Jim Miller [Thu, 6 Oct 2016 20:06:21 +0000 (20:06 +0000)]
Merge "Add metrics logging for critical fingerprintd errors" into nyc-mr1-dev
am: bf79852ae4

Change-Id: I30f7db6cb9cd4cbb166402e0778591574cac27da

7 years agoAdd metrics logging for critical fingerprintd errors
Jim Miller [Thu, 6 Oct 2016 20:06:16 +0000 (20:06 +0000)]
Add metrics logging for critical fingerprintd errors
am: c57c8d934c

Change-Id: I7da4ef8b31bced6330656b2d4555d8e179ed4ddf

7 years agoDocs: Redirect for Android Studio IR Flight Recorder am: 1face37061 am: 5fe735fe2c
Adarsh Fernando [Thu, 6 Oct 2016 20:05:26 +0000 (20:05 +0000)]
Docs: Redirect for Android Studio IR Flight Recorder am: 1face37061 am: 5fe735fe2c
am: bce10d350d

Change-Id: I370104a076b8382a353065201fc0603b08081229

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 6 Oct 2016 20:04:09 +0000 (20:04 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: b8e046a8a2  -s ours

Change-Id: I7a06f41a928e47341a0767a0c65d2c45af6ddef6

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 20:04:06 +0000 (20:04 +0000)]
Import translations. DO NOT MERGE
am: 53edc8f204  -s ours

Change-Id: Ibc030ab4cd2881cfe500ce7be8b7477b7a352e2d

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 6 Oct 2016 20:02:51 +0000 (20:02 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: a381e699e0  -s ours

Change-Id: Ia7869d0fcde0a98cb706ac10836bad8d02f54272

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 20:02:48 +0000 (20:02 +0000)]
Import translations. DO NOT MERGE
am: 453f915f94  -s ours

Change-Id: Ibc356ceb2016c7a7c6abfccb5db7b3bcdc11d2ee

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 6 Oct 2016 20:01:33 +0000 (20:01 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 8990b8c29c  -s ours

Change-Id: Iad921d79917548c8f38f68b78a6b09c84eff0cec

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 20:01:30 +0000 (20:01 +0000)]
Import translations. DO NOT MERGE
am: d2671e488d  -s ours

Change-Id: I0b6000ab626e0aba864bb9b5ec182c338fba6de3

7 years agoMerge "Docs: Fixed the Service link" into nyc-dev am: b4be5089f3 am: 14557acbfc
Hemal Patel [Thu, 6 Oct 2016 20:00:46 +0000 (20:00 +0000)]
Merge "Docs: Fixed the Service link" into nyc-dev am: b4be5089f3 am: 14557acbfc
am: d7ef4228e2

Change-Id: I70f2cbd4333eacbf239183b845816b8e3fb1150b

7 years agoDocs: Fixed the Service link am: 1918214589 am: eb21088b67
Hemal Patel [Thu, 6 Oct 2016 19:59:53 +0000 (19:59 +0000)]
Docs: Fixed the Service link am: 1918214589 am: eb21088b67
am: 63b5e3ddd1

Change-Id: I1b1d34bb84a66c35268a7db754e5465b4c2b8d30

7 years agoMerge "Implement untetherAll as calls to stopTethering" into nyc-mr1-dev
Christopher Wiley [Thu, 6 Oct 2016 19:58:38 +0000 (19:58 +0000)]
Merge "Implement untetherAll as calls to stopTethering" into nyc-mr1-dev
am: fee635cc28

Change-Id: Id16b45b6340d9018ecf90f066b65574a02735c33

7 years agoImplement untetherAll as calls to stopTethering
Christopher Wiley [Thu, 6 Oct 2016 19:58:33 +0000 (19:58 +0000)]
Implement untetherAll as calls to stopTethering
am: fa6a486615

Change-Id: I20abc6e267bf38208e9f76f173a9fb584749c4f5

7 years agoMerge "Notify NetworkPolicyManagerService on tethering changes" into nyc-mr1-dev
Christopher Wiley [Thu, 6 Oct 2016 19:57:19 +0000 (19:57 +0000)]
Merge "Notify NetworkPolicyManagerService on tethering changes" into nyc-mr1-dev
am: a6afc56f94

Change-Id: I1f67dc626f9f84894b1696c308a546f7f103b891

7 years agoNotify NetworkPolicyManagerService on tethering changes
Christopher Wiley [Thu, 6 Oct 2016 19:57:15 +0000 (19:57 +0000)]
Notify NetworkPolicyManagerService on tethering changes
am: deebfec90b

Change-Id: I43b25305c730966da83acdaccb127c27be0e2332

7 years agoMerge "Do not access MTP devices when disabled." into nyc-mr1-dev
Philip P. Moltmann [Thu, 6 Oct 2016 19:55:48 +0000 (19:55 +0000)]
Merge "Do not access MTP devices when disabled." into nyc-mr1-dev
am: a40092d6d2

Change-Id: Ic036b736f9368ef4fc207f16a8e2c23feef77305

7 years agoDo not access MTP devices when disabled.
Philip P. Moltmann [Thu, 6 Oct 2016 19:55:28 +0000 (19:55 +0000)]
Do not access MTP devices when disabled.
am: 5201f1e61c

Change-Id: I9aa036678f2677054666b137533e61eaeac88159

7 years agoMerge "Work on issue #29422027: APR: Runtime restarts in system_server" into nyc...
Dianne Hackborn [Thu, 6 Oct 2016 19:54:30 +0000 (19:54 +0000)]
Merge "Work on issue #29422027: APR: Runtime restarts in system_server" into nyc-mr1-dev
am: 531c0237fc

Change-Id: Idbf5ea191fa9ccdacad76f5c3951b31ccb203b6a

7 years agoresolve merge conflicts of 448489a to cw-f-dev
Nimrod Gileadi [Thu, 6 Oct 2016 18:25:11 +0000 (19:25 +0100)]
resolve merge conflicts of 448489a to cw-f-dev

Change-Id: Idaff9ccaf74bf0ec82c6346eb383295b508c7324

7 years agoMerge "Add the onDeviceOffBody API method to KeyStore" into cw-f-dev
Tucker Sylvestro [Thu, 6 Oct 2016 16:08:41 +0000 (16:08 +0000)]
Merge "Add the onDeviceOffBody API method to KeyStore" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 6 Oct 2016 09:34:47 +0000 (09:34 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 6 Oct 2016 09:34:10 +0000 (09:34 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 01:21:21 +0000 (18:21 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 01:13:10 +0000 (18:13 -0700)]
Import translations. DO NOT MERGE

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

7 years agoDo not listen for clock ticks, time changes, timezone changes, or time format changes...
Erik Wolsheimer [Mon, 3 Oct 2016 20:07:19 +0000 (13:07 -0700)]
Do not listen for clock ticks, time changes, timezone changes, or time format changes when TextClock is not visible

BUG: 31840153
Change-Id: I11adf1036fb25b28aee5caba6daa1ab0d9d1f23a

7 years agoMerge "Improving customization in DeviceDefault themes." into cw-f-dev
Jakub Adámek [Wed, 5 Oct 2016 07:57:21 +0000 (07:57 +0000)]
Merge "Improving customization in DeviceDefault themes." into cw-f-dev

7 years agoMerge "Automatically grant location and body sensors permissions to system packages...
Dan Aminzade [Wed, 5 Oct 2016 03:09:59 +0000 (03:09 +0000)]
Merge "Automatically grant location and body sensors permissions to system packages that handle the com.android.fitness.TRACK intent." into cw-f-dev

7 years agoMerge "QS: Don't set flashlight state when we don't have an id" into nyc-mr1-dev
Jason Monk [Tue, 4 Oct 2016 20:33:13 +0000 (20:33 +0000)]
Merge "QS: Don't set flashlight state when we don't have an id" into nyc-mr1-dev

7 years agoMerge "Add "FILTER_NOT_HIDE" to filter out the apps." into nyc-mr1-dev
Lei Yu [Tue, 4 Oct 2016 19:51:22 +0000 (19:51 +0000)]
Merge "Add "FILTER_NOT_HIDE" to filter out the apps." into nyc-mr1-dev

7 years agoQS: Don't set flashlight state when we don't have an id
Jason Monk [Tue, 4 Oct 2016 18:50:11 +0000 (14:50 -0400)]
QS: Don't set flashlight state when we don't have an id

Also add a dump to FlashlightController for better visibility.

Change-Id: I7e826c58598ccc18e211aaab31a2e4d039234fc1
Fixes: 31352536

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 4 Oct 2016 18:47:00 +0000 (18:47 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 4 Oct 2016 18:46:40 +0000 (18:46 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Tue, 4 Oct 2016 18:45:18 +0000 (18:45 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
Bill Yi [Tue, 4 Oct 2016 18:35:09 +0000 (18:35 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoImproving customization in DeviceDefault themes.
Jakub Adamek [Tue, 4 Oct 2016 09:14:35 +0000 (10:14 +0100)]
Improving customization in DeviceDefault themes.

Changes standard button color to white with 50% alpha.
Fixes background color in radio lists in settings.
Continues in removing duplication of color palette.

Bug: 31391353

Change-Id: I3778c070644e85d50743d34af57103b1a2b636ba

7 years agoMerge "Reload state when user unlocks" into nyc-mr1-dev
Jorim Jaggi [Tue, 4 Oct 2016 09:55:28 +0000 (09:55 +0000)]
Merge "Reload state when user unlocks" into nyc-mr1-dev

7 years agoMerge changes from topic 'avoidbadwifi' into nyc-dr1-dev
Lorenzo Colitti [Tue, 4 Oct 2016 07:50:20 +0000 (07:50 +0000)]
Merge changes from topic 'avoidbadwifi' into nyc-dr1-dev
am: 291af5c568

Change-Id: Idf4004f1cfb6b1b4c53d699f98faff5a55fc7b90

7 years agoIgnore loss of IPv6 provisioning when not avoiding bad Wi-Fi.
Lorenzo Colitti [Tue, 4 Oct 2016 07:50:14 +0000 (07:50 +0000)]
Ignore loss of IPv6 provisioning when not avoiding bad Wi-Fi.
am: f11ee9f592

Change-Id: I3090ac5fe7dabf2ee19120bd0ab566edaa95ddb6

7 years agoSlightly simplify IpManager#compareProvisioning.
Lorenzo Colitti [Tue, 4 Oct 2016 07:49:23 +0000 (07:49 +0000)]
Slightly simplify IpManager#compareProvisioning.
am: b77b775213

Change-Id: I31ab37d3fc39baf73fa14ef3b54b781b60347b41

7 years agoConditionally accept loss of on-link IPv6 DNS servers
Erik Kline [Tue, 4 Oct 2016 07:48:46 +0000 (07:48 +0000)]
Conditionally accept loss of on-link IPv6 DNS servers
am: 5b437d6ff9

Change-Id: Ie32080d7918dea0ae89bd3e0987cb1c8f121e0bd

7 years agoRefactor "avoid bad wifi" logic into a utility class
Erik Kline [Tue, 4 Oct 2016 07:47:52 +0000 (07:47 +0000)]
Refactor "avoid bad wifi" logic into a utility class
am: 065ab6ee40

Change-Id: I4a6ad3791ac551b0d64b37dd4e2afef1e8e8ee10

7 years agoMerge changes from topic 'avoidbadwifi' into nyc-dr1-dev
Lorenzo Colitti [Tue, 4 Oct 2016 07:42:03 +0000 (07:42 +0000)]
Merge changes from topic 'avoidbadwifi' into nyc-dr1-dev

* changes:
  Ignore loss of IPv6 provisioning when not avoiding bad Wi-Fi.
  Slightly simplify IpManager#compareProvisioning.
  Conditionally accept loss of on-link IPv6 DNS servers
  Refactor "avoid bad wifi" logic into a utility class

7 years agoIgnore loss of IPv6 provisioning when not avoiding bad Wi-Fi.
Lorenzo Colitti [Tue, 4 Oct 2016 02:01:19 +0000 (11:01 +0900)]
Ignore loss of IPv6 provisioning when not avoiding bad Wi-Fi.

Bug: 31827713
Change-Id: I81471f2f3e6c1c4d7bdfebc9dd321bb9d76ad0b6

7 years agoSlightly simplify IpManager#compareProvisioning.
Lorenzo Colitti [Mon, 3 Oct 2016 16:38:15 +0000 (01:38 +0900)]
Slightly simplify IpManager#compareProvisioning.

Bug: 31827713
Change-Id: Icc1c8d98feef14c972891451fd94f855d78de43e

7 years agoConditionally accept loss of on-link IPv6 DNS servers
Erik Kline [Mon, 3 Oct 2016 10:53:50 +0000 (19:53 +0900)]
Conditionally accept loss of on-link IPv6 DNS servers

Permit this if and only if we're not "avoiding bad wifi" in general.

Bug: 31827713
Change-Id: I0874ec2d1d09e913ccdbe9f6e178090400808a04

7 years agoRefactor "avoid bad wifi" logic into a utility class
Erik Kline [Sun, 2 Oct 2016 09:02:14 +0000 (18:02 +0900)]
Refactor "avoid bad wifi" logic into a utility class

Additionally, add this utility class to IpManager for compatibility
verification.  A follow-on CL will make use of IpManager's local
AvoidBadWifiTracker.

Bug: 31827713
Change-Id: If8c56c3f8076d6a5157ea180e361bbdadc2bc1dd

7 years agoAutomatically grant location and body sensors permissions to
Dan Aminzade [Tue, 13 Sep 2016 17:50:09 +0000 (10:50 -0700)]
Automatically grant location and body sensors permissions to
system packages that handle the com.android.fitness.TRACK
intent.

BUG: 31432884
Change-Id: I57ff470fe31ca6a3e824152b7b7eafd9759e3118

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 4 Oct 2016 02:33:30 +0000 (19:33 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 4 Oct 2016 02:21:30 +0000 (19:21 -0700)]
Import translations. DO NOT MERGE

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

7 years agoPrevent triggering orientation changes until previous completes.
Robert Carr [Mon, 3 Oct 2016 23:42:04 +0000 (16:42 -0700)]
Prevent triggering orientation changes until previous completes.

Currently we defer rotation while the screen rotation animation
is animating, but there is an additional interval after the animation
completes where the display may not yet be unfrozen and attempting to
rotate again will not work.

Bug: 31749456
Change-Id: I5f6830d85fb326d5032b597cbed1b767f0b627f5

7 years agoAdd "FILTER_NOT_HIDE" to filter out the apps.
jackqdyulei [Thu, 29 Sep 2016 20:31:54 +0000 (13:31 -0700)]
Add "FILTER_NOT_HIDE" to filter out the apps.

The "FILTER_NOT_HIDE" is used to filter out apps that "blacklisted"
by the carrier. So when user insert a specific sim card, these apps
disapper in settings > apps totally unless user enable them.

Bug: 31823872
Test: Manual
Change-Id: I62ec13806d70f68e6cd3cbd014e7513cda36358c

7 years agoMerge "Restrict AVD and VD parsing to the current element instead of the whole docume...
Doris Liu [Mon, 3 Oct 2016 23:28:51 +0000 (23:28 +0000)]
Merge "Restrict AVD and VD parsing to the current element instead of the whole document" into nyc-mr1-dev

7 years agoMerge "Update JavaDoc about animatable on VectorDrawable" into nyc-mr1-dev
Tenghui Zhu [Mon, 3 Oct 2016 22:53:42 +0000 (22:53 +0000)]
Merge "Update JavaDoc about animatable on VectorDrawable" into nyc-mr1-dev

7 years agoMerge "Fix thread race caused double free issue." into nyc-mr1-dev
Adam Lesinski [Mon, 3 Oct 2016 21:36:47 +0000 (21:36 +0000)]
Merge "Fix thread race caused double free issue." into nyc-mr1-dev

7 years agoRestrict AVD and VD parsing to the current element instead of the whole document
Doris Liu [Mon, 3 Oct 2016 20:57:28 +0000 (13:57 -0700)]
Restrict AVD and VD parsing to the current element instead of the whole document

This CL changes the AVD xml parsing to parsing only within the current
element, which prevents AVD parsing from always skipping to the end of
the doucment. So things that are defined after AVD in the same document
can be picked up by the xml parser.

The same fix has been applied to VD as well.

BUG: 31865175
Test: Manually following comment #1 in the bug above

Change-Id: I4ebdce1eb2e92d6f6e2c37caed9607253d24602f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 3 Oct 2016 21:27:54 +0000 (14:27 -0700)]
Import translations. DO NOT MERGE

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

7 years agoDocs: Wear preview 3 - tweaks to gradle snippet am: 70c6411a10
Bert McMeen [Mon, 3 Oct 2016 21:21:20 +0000 (21:21 +0000)]
Docs: Wear preview 3 - tweaks to gradle snippet am: 70c6411a10
am: 19404c6f93

Change-Id: I05c3ee4ee575afc6214a44bbe4a5094287ce3c48

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 3 Oct 2016 21:19:58 +0000 (14:19 -0700)]
Import translations. DO NOT MERGE

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

7 years agoDocs: Wear preview 3 - tweaks to gradle snippet
Bert McMeen [Mon, 3 Oct 2016 21:15:42 +0000 (21:15 +0000)]
Docs: Wear preview 3 - tweaks to gradle snippet
am: 70c6411a10

Change-Id: I823d703c307a6ea51b149cac3b6b2864dbc44511

7 years agoMerge "Explicitly close FD binder parameters in backup/restore API calls" into nyc...
Chris Tate [Mon, 3 Oct 2016 21:06:20 +0000 (21:06 +0000)]
Merge "Explicitly close FD binder parameters in backup/restore API calls" into nyc-mr1-dev

7 years agoDocs: Wear preview 3 - tweaks to gradle snippet
Bert McMeen [Mon, 3 Oct 2016 20:32:54 +0000 (13:32 -0700)]
Docs: Wear preview 3 - tweaks to gradle snippet

Bug: 31910705
Change-Id: Ia58ac7bec8e748a797c6213bbd31a05f876e2424

7 years agoMerge "Make magnification ignore invisible wallpaper." into nyc-mr1-dev
Phil Weaver [Mon, 3 Oct 2016 20:31:20 +0000 (20:31 +0000)]
Merge "Make magnification ignore invisible wallpaper." into nyc-mr1-dev

7 years agoMerge "Fix issue #31403654: Elevation of privilege vulnerability in deviceidle servic...
Dianne Hackborn [Mon, 3 Oct 2016 20:21:49 +0000 (20:21 +0000)]
Merge "Fix issue #31403654: Elevation of privilege vulnerability in deviceidle service" into nyc-mr1-dev

7 years agoFix thread race caused double free issue.
songjinshi [Thu, 8 Sep 2016 07:24:30 +0000 (15:24 +0800)]
Fix thread race caused double free issue.

The SharedZip's Asset is not thread-safety,the getResourceTableAsset()
and setResourceTableAsset(Asset* asset) function of the SharedZip is
not sync with a same lock.

Consider the following sequence of events:
Thread A calls setResourceTableAsset(Asset* asset),it will set
mResourceTableAsset = asset; then to calls getBuffer() of the asset.
Thread B calls getResourceTableAsset(),which return mResourceTableAsset,
then to calls getBuffer() of the mResourceTableAsset,the asset and
mResourceTableAsset is same one object.
Thread A to delete mZipInflater in getBuffer().
Thread B to delete mZipInflater in getBuffer().

It will cause crash becuase double delete mZipInflater in getBuffer().

https://code.google.com/p/android/issues/detail?id=211941

Bug:31734545
Change-Id: I5a7d67fdf64c4aa03f505b37a2fa840f4443d158
Signed-off-by: songjinshi <songjinshi@xiaomi.com>
7 years agoMerge "Add metrics logging for critical fingerprintd errors" into nyc-mr1-dev
TreeHugger Robot [Mon, 3 Oct 2016 18:49:37 +0000 (18:49 +0000)]
Merge "Add metrics logging for critical fingerprintd errors" into nyc-mr1-dev

7 years agoAdding customizable background colour support.
Jakub Adamek [Fri, 23 Sep 2016 08:04:23 +0000 (09:04 +0100)]
Adding customizable background colour support.

Also changes how sub-styles are created: copies the modified properties
like e.g. fullscreen from Material. Previously most sub-styles
inherited from their material counterparts and updated just some colors.
The new approach should be more stable wrt changes in device default
theme. It would need updating when Material is updated but these kind
of properties does not look like it would be updated often.

Bug: 31459804
Change-Id: I78862bf33ca3dac586ad0a25f17bf8c0008a1dd0

7 years agoDocs: Redirect for Android Studio IR Flight Recorder am: 1face37061
Adarsh Fernando [Mon, 3 Oct 2016 15:57:55 +0000 (15:57 +0000)]
Docs: Redirect for Android Studio IR Flight Recorder am: 1face37061
am: 5fe735fe2c

Change-Id: I1acf26e382b8bbcc505e03873d9be6f1c8306bf7

7 years agoDocs: Redirect for Android Studio IR Flight Recorder
Adarsh Fernando [Mon, 3 Oct 2016 15:53:55 +0000 (15:53 +0000)]
Docs: Redirect for Android Studio IR Flight Recorder
am: 1face37061

Change-Id: Ic7d2eebff72e8118993606e5758ced4f4e9f5e64

7 years agoReload state when user unlocks
Jorim Jaggi [Fri, 30 Sep 2016 14:20:25 +0000 (07:20 -0700)]
Reload state when user unlocks

Test: Unlock freshly booted non-FBE device, make sure the transition
is fast as well as the icons have the correct state

Change-Id: I6427427d16edeceb0f410be0b88de601a3dffdb4
Fixes: 31203310

7 years agoChange name of overlay subdir property to sku.
Jakub Adamek [Fri, 30 Sep 2016 08:19:09 +0000 (09:19 +0100)]
Change name of overlay subdir property to sku.

Also move the SKU subdirectories directly under /vendor/overlay.

Bug: 31692079
Change-Id: I68c712b13918cc99629534580ee4f77d9e5b3823

7 years agoDocs: Redirect for Android Studio IR Flight Recorder
Adarsh Fernando [Sat, 1 Oct 2016 19:23:49 +0000 (12:23 -0700)]
Docs: Redirect for Android Studio IR Flight Recorder

Bug:31631770
Change-Id: Id3c4b8d141242521bef6364af2bbd47b950258c2