OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "If the current device is a watch, fix DeviceOwner/ProfileOwner logic." into...
Greg Plesur [Fri, 4 Nov 2016 14:02:09 +0000 (14:02 +0000)]
Merge "If the current device is a watch, fix DeviceOwner/ProfileOwner logic." into cw-f-dev

7 years agoIf the current device is a watch, fix DeviceOwner/ProfileOwner logic.
Greg Plesur [Tue, 1 Nov 2016 16:33:15 +0000 (12:33 -0400)]
If the current device is a watch, fix DeviceOwner/ProfileOwner logic.

In this case, don't require the device to have gone through the
Setup Wizard before disqualifying DO/PO if there's an incompatible
account on the device.

BUG: 32438704,32438210

Change-Id: I6858db13c8df6e95d01d18a903f4343f70370e8b

7 years agoMerge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev
Greg Plesur [Thu, 3 Nov 2016 20:15:15 +0000 (20:15 +0000)]
Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev

7 years agoMerge "Disable multiwindow support for watch devices by default." into cw-f-dev
Michael Kwan [Thu, 3 Nov 2016 19:48:53 +0000 (19:48 +0000)]
Merge "Disable multiwindow support for watch devices by default." into cw-f-dev

7 years agoNew Wear devices need to update their DISABLE_LOCKSCREEN_KEY.
Greg Plesur [Wed, 2 Nov 2016 21:10:27 +0000 (17:10 -0400)]
New Wear devices need to update their DISABLE_LOCKSCREEN_KEY.

Previous versions of Wear forced this flag to "true."

BUG: 32591969
Change-Id: I9619eee5df5f67e92818ef0b7b45ddd2299449f1

7 years agoDisable multiwindow support for watch devices by default.
Michael Kwan [Thu, 3 Nov 2016 08:09:08 +0000 (01:09 -0700)]
Disable multiwindow support for watch devices by default.

Bug: 30120559
Change-Id: I458eac557e38fd32533a98cca7cbbabc5fa08b09

7 years agoMerge "Revert "Don't invalidate list data during layout."" into nyc-mr1-dev
Phil Weaver [Wed, 2 Nov 2016 17:20:20 +0000 (17:20 +0000)]
Merge "Revert "Don't invalidate list data during layout."" into nyc-mr1-dev
am: 7ffc2a62ff

Change-Id: Id1f42e0dcb96e9dab884faa5ecd070ced3c4fba2

7 years agoRevert "Don't invalidate list data during layout."
Phil Weaver [Wed, 2 Nov 2016 17:20:17 +0000 (17:20 +0000)]
Revert "Don't invalidate list data during layout."
am: 866ded50bb

Change-Id: I191c26bfb9488d5d67514a81387a9cde95a20eb4

7 years agoMerge "Revert "Don't invalidate list data during layout."" into nyc-mr1-dev
Phil Weaver [Wed, 2 Nov 2016 17:13:22 +0000 (17:13 +0000)]
Merge "Revert "Don't invalidate list data during layout."" into nyc-mr1-dev

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 16:03:00 +0000 (16:03 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages am: 1b5d5bd119  -s ours am: eb3696542a  -s ours am: 41bdd3a668  -s ours am: 90c736f892  -s ours
am: e319e7335c  -s ours

Change-Id: I848f238db11bc2f67fec83cb157d3cb3faec0212

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b -s ours...
Thomas Buhot [Wed, 2 Nov 2016 16:02:09 +0000 (16:02 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b  -s ours am: 7b43f2af93  -s ours am: 40d2aa1edc  -s ours am: eae299874c  -s ours
am: 5e089ad195  -s ours

Change-Id: I0062bfb72567ae43dbf50a1127e22b2363cac9e1

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:57:25 +0000 (15:57 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages am: 1b5d5bd119  -s ours am: eb3696542a  -s ours am: 41bdd3a668  -s ours
am: 90c736f892  -s ours

Change-Id: I38668b4a372530962a0ae0d6e2a717319731dff0

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b -s ours...
Thomas Buhot [Wed, 2 Nov 2016 15:56:38 +0000 (15:56 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b  -s ours am: 7b43f2af93  -s ours am: 40d2aa1edc  -s ours
am: eae299874c  -s ours

Change-Id: I6a8b5337f38b099bee806451db1df44c723e6596

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:51:17 +0000 (15:51 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages am: 1b5d5bd119  -s ours am: eb3696542a  -s ours
am: 41bdd3a668  -s ours

Change-Id: I70baae78d036713c95c02e9cad497a343d5d1309

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b -s ours...
Thomas Buhot [Wed, 2 Nov 2016 15:50:38 +0000 (15:50 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b  -s ours am: 7b43f2af93  -s ours
am: 40d2aa1edc  -s ours

Change-Id: I741b9682b066384aadce0dcaf9ca792de015d59e

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:46:36 +0000 (15:46 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages am: 1b5d5bd119  -s ours
am: eb3696542a  -s ours

Change-Id: I9a78875432e05918c574c9d8ea89230067b811cc

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b -s ours
Thomas Buhot [Wed, 2 Nov 2016 15:45:43 +0000 (15:45 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous am: 80e6d8873b  -s ours
am: 7b43f2af93  -s ours

Change-Id: Ia6804a8b93168a033075b6e77ac5d1bec63e3d69

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Wed, 2 Nov 2016 15:41:06 +0000 (15:41 +0000)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages
am: 1b5d5bd119  -s ours

Change-Id: I6c218970581361c195471ee435f5a91b109911f0

7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous
Thomas Buhot [Wed, 2 Nov 2016 15:40:34 +0000 (15:40 +0000)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous
am: 80e6d8873b  -s ours

Change-Id: I521a8a64510e89ee97578fc5e2f600b4a1851bd3

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Wed, 2 Nov 2016 13:03:04 +0000 (13:03 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 125deebf5d  -s ours

Change-Id: Ic90df3a0db800052813e23370e1b80846caae456

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 13:03:03 +0000 (13:03 +0000)]
Import translations. DO NOT MERGE
am: 7d24dd6448  -s ours

Change-Id: Iadd9f2dcec4c026a70aa5169325a6d3e42d15460

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Wed, 2 Nov 2016 12:57:31 +0000 (12:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Wed, 2 Nov 2016 12:57:03 +0000 (12:57 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Increment a MetricsLogger counter on back press." into cw-f-dev
TreeHugger Robot [Wed, 2 Nov 2016 12:55:14 +0000 (12:55 +0000)]
Merge "Increment a MetricsLogger counter on back press." into cw-f-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 02:34:21 +0000 (19:34 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 2 Nov 2016 00:45:25 +0000 (17:45 -0700)]
Import translations. DO NOT MERGE

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

7 years agoRevert "Don't invalidate list data during layout."
Phil Weaver [Tue, 1 Nov 2016 23:38:44 +0000 (23:38 +0000)]
Revert "Don't invalidate list data during layout."

This reverts commit 456158ffc29864e02b2f66481fe6b0efcfdacba0.

Change-Id: I7a61dc34dfc81ee650ca0883fe99c0f5dc08ba75

7 years agoDon't invalidate list data during layout.
Phil Weaver [Tue, 1 Nov 2016 22:55:11 +0000 (22:55 +0000)]
Don't invalidate list data during layout.
am: 456158ffc2

Change-Id: I550b63d3fd6b5f451083627dc16f369729b1e1d7

7 years agoMerge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev
vinodkrishnan [Tue, 1 Nov 2016 22:54:06 +0000 (22:54 +0000)]
Merge "DO NOT MERGE Wear Fwk: Disable Animations for A11y" into cw-f-dev

7 years agoMerge "Workaround for javac compilation issue of lambda code" into cw-f-dev
Mark Renouf [Tue, 1 Nov 2016 19:13:40 +0000 (19:13 +0000)]
Merge "Workaround for javac compilation issue of lambda code" into cw-f-dev

7 years agoDon't invalidate list data during layout.
Phil Weaver [Tue, 1 Nov 2016 16:55:24 +0000 (09:55 -0700)]
Don't invalidate list data during layout.

When a FastScroller is enabled, we were invalidating the
list data during layout, which left the UI in a bad state.
Long-presses didn't work properly, and TalkBack touches
were impossible to perform.

Bug: 31160338

Test: Manually tested long pressing, and verified
that TalkBack now works with the TestActivity in ag/1567328.
Change-Id: Iecd2d597259748a3ecbf5573950e565a0e9faa42

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Tue, 1 Nov 2016 18:21:45 +0000 (18:21 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoWorkaround for javac compilation issue of lambda code
Mark Renouf [Tue, 1 Nov 2016 15:48:24 +0000 (11:48 -0400)]
Workaround for javac compilation issue of lambda code

Since ag/32554459 some Robolectric tests are compiling
framework code with javac. For reasons unclear so far this
code fails to compile with javac:

> ShortcutService.java:408: error: variable ri might not have been initialized

https://android-build.googleplex.com/builds/submitted/3416256/angelfish-userdebug/latest/logs

Removing the lambda expressions corrects the issue.

BUG: 32554459

Change-Id: I189c8ef02dc93b46ef6418c1ff14f2312097898a

7 years agoMerge "Clean up InputConnection.commitContent() javadocs DO NOT MERGE" into nyc-mr1-dev
Chet Haase [Tue, 1 Nov 2016 17:30:51 +0000 (17:30 +0000)]
Merge "Clean up InputConnection.commitContent() javadocs DO NOT MERGE" into nyc-mr1-dev
am: bbae4e6ce6

Change-Id: I69397eccd0894146e673297dedf3de44125aef04

7 years agoClean up InputConnection.commitContent() javadocs DO NOT MERGE
Chet Haase [Tue, 1 Nov 2016 17:30:47 +0000 (17:30 +0000)]
Clean up InputConnection.commitContent() javadocs DO NOT MERGE
am: 5c0af88764

Change-Id: I1f0147cbac31a7e68bc89601e1952f5a35971885

7 years agoMerge "Clean up InputConnection.commitContent() javadocs DO NOT MERGE" into nyc-mr1-dev
Chet Haase [Tue, 1 Nov 2016 17:25:38 +0000 (17:25 +0000)]
Merge "Clean up InputConnection.commitContent() javadocs DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 1 Nov 2016 07:56:00 +0000 (07:56 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: e82b728101  -s ours

Change-Id: Ic904dea0b0cddcacaff7cff6665769637f121982

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 1 Nov 2016 07:55:57 +0000 (07:55 +0000)]
Import translations. DO NOT MERGE
am: 9be72645f6  -s ours

Change-Id: Ia239b769421432abdb5097d041537c02d74a75c6

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 1 Nov 2016 07:30:55 +0000 (07:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 1 Nov 2016 05:57:11 +0000 (22:57 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Allow boot clock to be toggled between 12 and 24 hour format" into cw-f-dev
TreeHugger Robot [Tue, 1 Nov 2016 01:39:59 +0000 (01:39 +0000)]
Merge "Allow boot clock to be toggled between 12 and 24 hour format" into cw-f-dev

7 years agoAlways scan the Settings app for updated shortcuts.
Makoto Onuki [Tue, 1 Nov 2016 01:12:34 +0000 (01:12 +0000)]
Always scan the Settings app for updated shortcuts.
am: ac2898228e

Change-Id: I64f476ec3b4003e87004ab6c05536f91e659d39e

7 years agoClean up InputConnection.commitContent() javadocs DO NOT MERGE
Chet Haase [Thu, 13 Oct 2016 22:49:09 +0000 (15:49 -0700)]
Clean up InputConnection.commitContent() javadocs DO NOT MERGE

Test: docs only, no test apart from verifying that it builds
Bug: #32158219 clean up InputConnection.commitContent() javadocs
Change-Id: I9b438d6b14aa8bc868fe41f7e0fe22b0e83800fb

7 years agoAlways scan the Settings app for updated shortcuts.
Makoto Onuki [Mon, 31 Oct 2016 22:32:17 +0000 (15:32 -0700)]
Always scan the Settings app for updated shortcuts.

The setting apps' version code is 25 for both DR and MR1, so the
shortcut manager will not notice when it's changed.

Let's just always scan this app.

Bug 32554059

Change-Id: Ia05363b30a5eeb989dc4c44cf5dbd71cde96de96

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

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

7 years agoIncrement a MetricsLogger counter on back press.
Nimrod Gileadi [Mon, 31 Oct 2016 20:42:19 +0000 (20:42 +0000)]
Increment a MetricsLogger counter on back press.

For Wear, we want to know how often users press the side button, which
is mapped to a back key press. The number of times the back button is
pressed is probably a useful metric for the rest of Android.

The counter string, "key_back_down" is not yet declared in
go/tron-counters, but we should get the framework change in ASAP.

Bug: 32396371
Change-Id: Ia102318cd5ca4d077ce404944084806198c334f7

7 years agoUpdate colors for the round scroll bar.
Aga Madurska [Mon, 31 Oct 2016 10:33:27 +0000 (10:33 +0000)]
Update colors for the round scroll bar.

Bug:32536003

Change-Id: I35503c089bc918493aab3288580f81d7b780d671

7 years agoAllow boot clock to be toggled between 12 and 24 hour format
Damien Bargiacchi [Sat, 29 Oct 2016 00:38:22 +0000 (17:38 -0700)]
Allow boot clock to be toggled between 12 and 24 hour format

Bug: 32461548
Change-Id: I414192e6d9f3ae44267f4a360e35647f18c420b4

7 years agoDO NOT MERGE Wear Fwk: Disable Animations for A11y
Vinod Krishnan [Wed, 26 Oct 2016 22:12:25 +0000 (15:12 -0700)]
DO NOT MERGE Wear Fwk: Disable Animations for A11y

- When Accessibility is turned on, Android Wear devices become unusable.
Add an option to disable animations, will be disabled in an overlay.

Bug: 24985771

Change-Id: If5fc44705d56579b305abd48a0d820f306b9be10

7 years agoMerge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev
Fyodor Kupolov [Fri, 28 Oct 2016 00:21:12 +0000 (00:21 +0000)]
Merge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev
am: e97969b4d0

Change-Id: I0888cc3e628cd004887ecf0cac5fa718dc1d0f15

7 years ago[DO NOT MERGE] Only setSize if -s arg is specified
Fyodor Kupolov [Fri, 28 Oct 2016 00:21:10 +0000 (00:21 +0000)]
[DO NOT MERGE] Only setSize if -s arg is specified
am: b87a491de6

Change-Id: I33afbd12925a1afb79ed9b444948372ebbaf5e95

7 years agoMerge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev
TreeHugger Robot [Fri, 28 Oct 2016 00:11:11 +0000 (00:11 +0000)]
Merge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev

7 years ago[DO NOT MERGE] Only setSize if -s arg is specified
Fyodor Kupolov [Thu, 27 Oct 2016 01:36:57 +0000 (18:36 -0700)]
[DO NOT MERGE] Only setSize if -s arg is specified

Calculate size of installed APKs only when INSTALL_EXTERNAL flag is set.
calculateInstalledSize is expensive and may take up to 20% of total
installation time.

Bug: 32180551
Bug: 29932779
Change-Id: I173d2b38820cc86cbfacecd1bacef57369d10af7

7 years agoMerge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev
Jeff Sharkey [Thu, 27 Oct 2016 20:23:26 +0000 (20:23 +0000)]
Merge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev
am: 286f069221

Change-Id: Ie24d27d010b355896e92b911d574576f42417b9b

7 years agoOnly bind to RESOLVE_EPHEMERAL_PACKAGE once.
Jeff Sharkey [Thu, 27 Oct 2016 20:23:23 +0000 (20:23 +0000)]
Only bind to RESOLVE_EPHEMERAL_PACKAGE once.
am: 7765d7320d

Change-Id: I2ca3b6d7938a461a6fe2d591b74985908c2d07bc

7 years agoMerge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev
Jeff Sharkey [Thu, 27 Oct 2016 20:18:08 +0000 (20:18 +0000)]
Merge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev

7 years agoMerge "Update progress bar and progress dialog to match UX specs for watch." into...
TreeHugger Robot [Thu, 27 Oct 2016 20:06:15 +0000 (20:06 +0000)]
Merge "Update progress bar and progress dialog to match UX specs for watch." into cw-f-dev

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

Change-Id: Ic4ffe5558fbb0baa525e76dbb14031c4d0cedde4

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 05:04:25 +0000 (05:04 +0000)]
Import translations. DO NOT MERGE
am: 1377e2b985  -s ours

Change-Id: I33398bdb4166839276e72271097684fcd9e02655

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 27 Oct 2016 05:03:08 +0000 (05:03 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: ad45d97c45  -s ours

Change-Id: I3364c6eccecc274568d48f207c59be97ae78b1ce

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 05:03:06 +0000 (05:03 +0000)]
Import translations. DO NOT MERGE
am: d1b8917270  -s ours

Change-Id: I6cf22433138b147581a2c055160e2610e0cfc2ce

7 years agoMerge "Import translations. DO NOT MERGE" into cw-f-dev
TreeHugger Robot [Thu, 27 Oct 2016 05:01:32 +0000 (05:01 +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, 27 Oct 2016 05:01:03 +0000 (05:01 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-f-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 27 Oct 2016 04:58:33 +0000 (04:58 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 27 Oct 2016 04:56:58 +0000 (04:56 +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 [Thu, 27 Oct 2016 04:54:33 +0000 (04:54 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 696b0e4d9f  -s ours

Change-Id: I807ae6a4f2808825e8363104e8e8661d5de77a2b

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 04:54:31 +0000 (04:54 +0000)]
Import translations. DO NOT MERGE
am: c541a19fba  -s ours

Change-Id: I8540ec656b922d2a56b8ddcb58c719e52a1bb5c6

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 27 Oct 2016 04:44:58 +0000 (04:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 27 Oct 2016 03:12:01 +0000 (20:12 -0700)]
Import translations. DO NOT MERGE

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

7 years agoBluetooth: prevent enabling BLE in airplane mode
Marie Janssen [Thu, 27 Oct 2016 00:20:17 +0000 (00:20 +0000)]
Bluetooth: prevent enabling BLE in airplane mode
am: a80d745c65

Change-Id: I05a57fa747abedab24e0509c1fb7ab8737b2256a

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 26 Oct 2016 23:42:29 +0000 (16:42 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 26 Oct 2016 23:21:49 +0000 (16:21 -0700)]
Import translations. DO NOT MERGE

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

7 years agoOnly bind to RESOLVE_EPHEMERAL_PACKAGE once.
Jeff Sharkey [Wed, 26 Oct 2016 22:58:49 +0000 (16:58 -0600)]
Only bind to RESOLVE_EPHEMERAL_PACKAGE once.

We never unbind, so we only ever need one bind request; creating more
bind requests just wastes resources.

Test: builds
Bug: 32446301
Change-Id: I7d6c4a93b8f5bb8d9aed7a5041b193e19a2d65fc

7 years agoUpdate progress bar and progress dialog to match UX specs for watch.
Michael Kwan [Wed, 26 Oct 2016 23:01:01 +0000 (16:01 -0700)]
Update progress bar and progress dialog to match UX specs for watch.

Due to the smaller screens of watch, the progress bar default sizes
have been reduced according to UX specs. Layout of progress dialog
has been updated to match UX specs as well.

Bug: 29352154
Change-Id: Ie3f42f5d6cb5cc14d422cb96cbb8dbfaf3deaca8

7 years agoBluetooth: prevent enabling BLE in airplane mode
Marie Janssen [Tue, 25 Oct 2016 17:47:51 +0000 (10:47 -0700)]
Bluetooth: prevent enabling BLE in airplane mode

Enabling BLE in airplane mode puts BluetoothManagerService in an
unexpected state which causes Bluetooth to be on when airplane mode
is disabled.

Also fixes a bug where a crash of a BLE client would trigger a restart
into ON mode.

Test: SL4A BleBackgroundScanTest:test_airplane_mode_disables_ble

Bug: 32140251
Bug: 32140271
Bug: 32369494

Change-Id: Ie65157e65c3a1ca914f567a7a0c631175d1e5835
(cherry picked from commit bd93b7b3dc6141cef6236cf0ca7dcc5acf5bfeed)

7 years agoMerge "Properly set the center of the circular mask." into cw-f-dev
TreeHugger Robot [Wed, 26 Oct 2016 21:20:20 +0000 (21:20 +0000)]
Merge "Properly set the center of the circular mask." into cw-f-dev

7 years agoMerge "[DO NOT MERGE] Don't accidentally delete renamed packages" into nyc-mr1-dev
Svetoslav Ganov [Wed, 26 Oct 2016 20:28:33 +0000 (20:28 +0000)]
Merge "[DO NOT MERGE] Don't accidentally delete renamed packages" into nyc-mr1-dev
am: e9db00e39f

Change-Id: I4141899231b1d48bb8217fe071a4146202e10ab8

7 years ago[DO NOT MERGE] Don't accidentally delete renamed packages
Svetoslav Ganov [Wed, 26 Oct 2016 20:28:30 +0000 (20:28 +0000)]
[DO NOT MERGE] Don't accidentally delete renamed packages
am: e2c85890ac

Change-Id: Icbd85ddfc76e50553414bd47860370cdc442b796

7 years agoMerge "[DO NOT MERGE] Don't accidentally delete renamed packages" into nyc-mr1-dev
TreeHugger Robot [Wed, 26 Oct 2016 20:22:49 +0000 (20:22 +0000)]
Merge "[DO NOT MERGE] Don't accidentally delete renamed packages" into nyc-mr1-dev

7 years agoProperly set the center of the circular mask.
Alain Vongsouvanh [Wed, 26 Oct 2016 20:01:49 +0000 (13:01 -0700)]
Properly set the center of the circular mask.

The new circular mask did not take into account devices with a chin,
setting the center of the circular mask higher than it should be.

BUG: 32418552
Change-Id: Ia45e197492a57341ad7db620b1d3fcc4820eabf0

7 years ago[DO NOT MERGE] Don't accidentally delete renamed packages
Svetoslav Ganov [Wed, 26 Oct 2016 03:47:15 +0000 (20:47 -0700)]
[DO NOT MERGE] Don't accidentally delete renamed packages

Apps on the system image can change their package by declaring
their old one in the manifest. If a package is renamed it is
internally referred by its old name.

The reconciliation code was using the new package name for
renamed packages and was concluding the apk is orphaned thus
deleting it. This puts the package in a bad state where the app
is gone and the version on the system partition is disabled.

Also Play was showing an update for a renamed system app as
an install while it is an update because of the same reason,
it was using the new package name while the app is internally
referred by the old one.

The fix for both above is to internally normalize the package
name by using the old one if the package was renamed or the
package name as is.

Test: With the fix put the old calculator on the system image
and booted, then put the renamed calculator and booted, updated
calculator from play and rebooted - calculator keeps working.
Also did the above steps without the patch to put calculator
in a bad state and flashed the system with the patch which
fixed the broken calculator app.

bug:32321269

Change-Id: I98bfc05c399edfc9854ebcce44182fefa55ceeff

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 26 Oct 2016 17:55:33 +0000 (10:55 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 26 Oct 2016 17:47:09 +0000 (10:47 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "DO NOT MERGE: Add initial ambient light sensor rate" into cw-f-dev
Julius D'souza [Wed, 26 Oct 2016 03:23:17 +0000 (03:23 +0000)]
Merge "DO NOT MERGE: Add initial ambient light sensor rate" into cw-f-dev

7 years agoDO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multi...
Shuo Gao [Tue, 1 Mar 2016 05:32:03 +0000 (13:32 +0800)]
DO NOT MERGE ANYWHERE Enable shader cache for applications that shared UID with multiple packages

from AOSP: https://android-review.googlesource.com/#/c/209490/

Frameworks supported a mature mechanism for shader cache per each package already,
but as a special case such as Settings APP, if there are several packages in this
application which means that multiple packages shared the same SharedUserID with it,
it won't initialize the graphics disk caches, thereby APP like Settings have to
rebuild and relink shader every time during launch, which cause a bad launching
performance, so here to enable the GFX and RS cache initialization for multiple
shared packages case too.

Change-Id: If0f927e3399b775804abf1d9a868887951f471c5
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
7 years agoDO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous
Thomas Buhot [Fri, 4 Dec 2015 11:18:03 +0000 (12:18 +0100)]
DO NOT MERGE ANYWHERE libhwui: make setSurface asynchronous

from AOSP: https://android-review.googlesource.com/#/c/183305/

On the critical path of the cold launch of applications
the main thread of the started application tells the RenderThread
to create a surface. This process is synchronous and blocks
the main thread of the application until the creation
of the EGLContext is complete.
As a consequence the launch time of the application is delayed
by time spent allocating the EGL Context in the RenderThread.

With this optimization the launch time of any application
is improved (for example settings by 20 to 40 ms).

Change-Id: Ibf47aaa0abb8dedf7aa00693073db3785d9d6b08
Signed-off-by: Thomas Buhot <thomas.buhot@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
7 years agoDO NOT MERGE: Add initial ambient light sensor rate
Julius D'souza [Tue, 25 Oct 2016 02:26:45 +0000 (19:26 -0700)]
DO NOT MERGE: Add initial ambient light sensor rate

Bug: 32153559

Change-Id: Ic54bded46f88991290ed1e4d2574f865b6f598ec

7 years agoMerge "Make sure to call dismissKeyguard after setOccluded" into nyc-mr1-dev
Jorim Jaggi [Tue, 25 Oct 2016 23:39:30 +0000 (23:39 +0000)]
Merge "Make sure to call dismissKeyguard after setOccluded" into nyc-mr1-dev
am: 7e8fc05295

Change-Id: I30c5c07b6b0308e6161607f7e89302d5af8b7c11

7 years agoMake sure to call dismissKeyguard after setOccluded
Jorim Jaggi [Tue, 25 Oct 2016 23:39:25 +0000 (23:39 +0000)]
Make sure to call dismissKeyguard after setOccluded
am: ec50931d88

Change-Id: Ib25480fa4efe63940fed144f4e28dee185244fad

7 years agoMerge "Make sure to call dismissKeyguard after setOccluded" into nyc-mr1-dev
Jorim Jaggi [Tue, 25 Oct 2016 23:32:54 +0000 (23:32 +0000)]
Merge "Make sure to call dismissKeyguard after setOccluded" into nyc-mr1-dev

7 years agoMerge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev
Adrian Roos [Tue, 25 Oct 2016 22:02:49 +0000 (22:02 +0000)]
Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev
am: db1fd054d2  -s ours

Change-Id: I9f3d116efa02bfca1df96414110722afe143a6dc

7 years agoAmbient: If user turned off ambient, keep it off after split
Adrian Roos [Tue, 25 Oct 2016 22:02:44 +0000 (22:02 +0000)]
Ambient: If user turned off ambient, keep it off after split
am: 21984eeaf7  -s ours

Change-Id: Ia9508033be03059a382abfaaa2adfc3e415df81b

7 years agoMerge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev
Adrian Roos [Tue, 25 Oct 2016 21:55:49 +0000 (21:55 +0000)]
Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev

7 years agoAmbient: If user turned off ambient, keep it off after split
Adrian Roos [Fri, 21 Oct 2016 21:49:17 +0000 (14:49 -0700)]
Ambient: If user turned off ambient, keep it off after split

The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: Id80d62727952f63b363f87c19b5befbde8ab5c31
Merged-In: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Merged-In: I346a53b0dc9cdf578c238113f4f33056ba0f3aea
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.

7 years agoAmbient: If user turned off ambient, keep it off after split
Adrian Roos [Fri, 21 Oct 2016 21:49:17 +0000 (14:49 -0700)]
Ambient: If user turned off ambient, keep it off after split

The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: I346a53b0dc9cdf578c238113f4f33056ba0f3aea
Merged-In: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.

7 years agoMerge "Avoid redundant setMatrix calls from setMatrixInTransaction This matches the...
Matthew Bouyack [Tue, 25 Oct 2016 16:48:17 +0000 (16:48 +0000)]
Merge "Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction." into cw-f-dev

7 years agodocs: change gpu debugger redirect b/31781348 am: afbf16f908 am: fb4f5497b7
Cheryl Potter [Tue, 25 Oct 2016 15:14:15 +0000 (15:14 +0000)]
docs: change gpu debugger redirect b/31781348 am: afbf16f908 am: fb4f5497b7
am: 2e7c67f3cd

Change-Id: I489007830f525fa1deaabe6cc78f6b0d41e78a77

7 years agodocs: change gpu debugger redirect b/31781348 am: afbf16f908
Cheryl Potter [Tue, 25 Oct 2016 15:10:22 +0000 (15:10 +0000)]
docs: change gpu debugger redirect b/31781348 am: afbf16f908
am: fb4f5497b7

Change-Id: I1c550fa22586145ec949fe54ef727be814624340

7 years agodocs: change gpu debugger redirect b/31781348
Cheryl Potter [Tue, 25 Oct 2016 15:03:23 +0000 (15:03 +0000)]
docs: change gpu debugger redirect b/31781348
am: afbf16f908

Change-Id: I6fa42074ba2fe6019f0bf817a7b21650d2a0dd43

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 25 Oct 2016 06:25:44 +0000 (06:25 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: bf2eaa1029  -s ours

Change-Id: Ib09d545a5ad307e82c04136c57c10fc33eddce48