OSDN Git Service

android-x86/frameworks-base.git
7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433...
Jeff Sharkey [Tue, 8 Nov 2016 00:42:42 +0000 (00:42 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433 am: 84ef9e69fc am: e4419f474e am: d93ed63baa
am: a27ca045e5

Change-Id: Ie91c35c5b148e8d51dc54c398ce019e4f2046a31

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433...
Jeff Sharkey [Tue, 8 Nov 2016 00:35:26 +0000 (00:35 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433 am: 84ef9e69fc am: e4419f474e
am: d93ed63baa

Change-Id: I1d2a9bd0af847b8316720651bc2192151f999bcd

7 years agoPublic volumes belong to a single user. am: def2123f56 -s ours am: de221f06a3 am...
Jeff Sharkey [Tue, 8 Nov 2016 00:31:42 +0000 (00:31 +0000)]
Public volumes belong to a single user. am: def2123f56  -s ours am: de221f06a3 am: 9854b1707c
am: 5cae493d1b

Change-Id: I1a16cfda1a9513824f98def5a257da4abe2dc758

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433...
Jeff Sharkey [Tue, 8 Nov 2016 00:25:31 +0000 (00:25 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433 am: 84ef9e69fc
am: e4419f474e

Change-Id: Ic7ac4b928536fb5d7b18957d35e2ca1aea832fed

7 years agoPublic volumes belong to a single user. am: def2123f56 -s ours am: de221f06a3
Jeff Sharkey [Tue, 8 Nov 2016 00:19:39 +0000 (00:19 +0000)]
Public volumes belong to a single user. am: def2123f56  -s ours am: de221f06a3
am: 9854b1707c

Change-Id: I35e050710d0af31631ac2b0f823ed2fcabf174e2

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433
Jeff Sharkey [Tue, 8 Nov 2016 00:10:32 +0000 (00:10 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731 am: 59bb608433
am: 84ef9e69fc

Change-Id: Icf8d31fa28b1223d3f789ff653bbecfbcf87bcfb

7 years agoPublic volumes belong to a single user. am: def2123f56 -s ours
Jeff Sharkey [Tue, 8 Nov 2016 00:09:41 +0000 (00:09 +0000)]
Public volumes belong to a single user. am: def2123f56  -s ours
am: de221f06a3

Change-Id: I73f0c785931688020dcdc5bd16f54449f0bf6f51

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:59:45 +0000 (23:59 +0000)]
Public volumes belong to a single user.
am: def2123f56  -s ours

Change-Id: I2e71df725f742ab1e29f9b0f7f89285f659f8a35

7 years agoPublic volumes belong to a single user. am: 3a062a67fa am: e80720a731
Jeff Sharkey [Mon, 7 Nov 2016 23:59:38 +0000 (23:59 +0000)]
Public volumes belong to a single user. am: 3a062a67fa am: e80720a731
am: 59bb608433

Change-Id: I6cdf548573e909e11239e9a7a2f4190750a79758

7 years agoMerge "Public volumes belong to a single user." into nyc-dev am: d537f76b88 am: 930e7...
Jeff Sharkey [Mon, 7 Nov 2016 23:59:18 +0000 (23:59 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev am: d537f76b88 am: 930e77314b
am: 8c73d7989f

Change-Id: Iae899873091306c2e86e184187bea695a1b928bc

7 years agoPublic volumes belong to a single user. am: 6566fbe99b am: 50cc6c111c
Jeff Sharkey [Mon, 7 Nov 2016 23:57:38 +0000 (23:57 +0000)]
Public volumes belong to a single user. am: 6566fbe99b am: 50cc6c111c
am: 0b28736f03

Change-Id: I3f00c1c9a48d064d759e7c3727c4f40c732aa9da

7 years agoMerge "Public volumes belong to a single user." into nyc-mr1-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:54:57 +0000 (23:54 +0000)]
Merge "Public volumes belong to a single user." into nyc-mr1-dev
am: 0f35d29a7e

Change-Id: I6948a2b174ab8a328fdedf80f0adc564aec93e60

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:54:51 +0000 (23:54 +0000)]
Public volumes belong to a single user.
am: 8b38d083c4

Change-Id: I659a2bb47472c71a7248ccb54281073a24e8a19d

7 years agoMerge "Public volumes belong to a single user." into nyc-dev am: d537f76b88
Jeff Sharkey [Mon, 7 Nov 2016 23:51:20 +0000 (23:51 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev am: d537f76b88
am: 930e77314b

Change-Id: I0dfbf6667e2a8c9f696274aaca08124b6a41d378

7 years agoPublic volumes belong to a single user. am: 6566fbe99b
Jeff Sharkey [Mon, 7 Nov 2016 23:50:07 +0000 (23:50 +0000)]
Public volumes belong to a single user. am: 6566fbe99b
am: 50cc6c111c

Change-Id: Id8b1fa49f1b2ebef27c0e9f81486c6964781fb68

7 years agoPublic volumes belong to a single user. am: 3a062a67fa
Jeff Sharkey [Mon, 7 Nov 2016 23:46:19 +0000 (23:46 +0000)]
Public volumes belong to a single user. am: 3a062a67fa
am: e80720a731

Change-Id: I2ccf22ad13ff106b1ee3c750258917dee6c6f631

7 years agoMerge "Public volumes belong to a single user." into nyc-mr1-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:43:43 +0000 (23:43 +0000)]
Merge "Public volumes belong to a single user." into nyc-mr1-dev

7 years agoMerge "Public volumes belong to a single user." into nyc-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:43:18 +0000 (23:43 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev
am: d537f76b88

Change-Id: I6d76d35678d3a1cbbab3fe0290540fa5fe3c80ad

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:43:14 +0000 (23:43 +0000)]
Public volumes belong to a single user.
am: 6566fbe99b

Change-Id: If636376b98c449aee3794259317e39a3f0f7f163

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 7 Nov 2016 23:35:34 +0000 (23:35 +0000)]
Public volumes belong to a single user.
am: 3a062a67fa

Change-Id: Ibe40a7985bde6ff6d8bc307c28b94f7b1445c961

7 years agoMerge "Public volumes belong to a single user." into nyc-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:29:39 +0000 (23:29 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev

7 years agoMerge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1 am: 4da8fdaa15
Hemal Patel [Mon, 7 Nov 2016 22:32:03 +0000 (22:32 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1 am: 4da8fdaa15
am: 25cba2de54

Change-Id: If60b26c74033350e7d103c69fa0d33f67ac08f63

7 years agoDocs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3
Hemal Patel [Mon, 7 Nov 2016 22:31:01 +0000 (22:31 +0000)]
Docs: Revised the Drawable example am: ad302b60f4 am: 32bda49ae3
am: 618d339f3c

Change-Id: I68f8105a901685cf2382dae2982be846746565c2

7 years agoMerge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1
Hemal Patel [Mon, 7 Nov 2016 22:22:06 +0000 (22:22 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev am: 80956c99b1
am: 4da8fdaa15

Change-Id: I9596ce508e799a82c8224bb5e33d30c8de94311b

7 years agoDocs: Revised the Drawable example am: ad302b60f4
Hemal Patel [Mon, 7 Nov 2016 22:21:07 +0000 (22:21 +0000)]
Docs: Revised the Drawable example am: ad302b60f4
am: 32bda49ae3

Change-Id: I811bb218f83087c5dd602b4382c7496e019dcb0b

7 years agoMerge "Docs: Revised the Drawable example" into nyc-dev
Hemal Patel [Mon, 7 Nov 2016 22:11:06 +0000 (22:11 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev
am: 80956c99b1

Change-Id: I9a030b5080f7c1abe9a9e00404a7b72979e27aec

7 years agoDocs: Revised the Drawable example
Hemal Patel [Mon, 7 Nov 2016 22:10:59 +0000 (22:10 +0000)]
Docs: Revised the Drawable example
am: ad302b60f4

Change-Id: I3504dde2e7a31a50c59e3be239ae0160f84435ef

7 years agoMerge "Docs: Revised the Drawable example" into nyc-dev
Hemal Patel [Mon, 7 Nov 2016 21:57:46 +0000 (21:57 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev

7 years agoDocs: Revised the Drawable example
Hemal Patel [Tue, 4 Oct 2016 01:27:18 +0000 (18:27 -0700)]
Docs: Revised the Drawable example

Revised the Drawable example with VectorDrawable-friendly example

Bug: 18009084
Change-Id: Ia6d0ad46a352601c7032244b17d28b9dd690de1d

7 years agoMerge "DO NOT MERGE ANYWHERE Add supports-multiwindow command to am." into cw-f-dev
TreeHugger Robot [Fri, 4 Nov 2016 19:49:23 +0000 (19:49 +0000)]
Merge "DO NOT MERGE ANYWHERE Add supports-multiwindow command to am." into cw-f-dev

7 years agoDO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
Michael Kwan [Fri, 4 Nov 2016 19:14:41 +0000 (19:14 +0000)]
DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
am: 040b4826c2  -s ours

Change-Id: I5b476dd054dab199135b3e8bb088d83d665e7be7

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 agoDO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
Michael Kwan [Thu, 3 Nov 2016 08:04:24 +0000 (01:04 -0700)]
DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.

The supports-multiwindow command allows the ability to
check if the device has multiwindow support in the shell.

Bug: 30120559
Change-Id: I466e28d8a794fa457826a6526ef9ef660cd3856c

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 agoDO NOT MERGE ANYWHERE Add supports-multiwindow command to am.
Michael Kwan [Thu, 3 Nov 2016 08:04:24 +0000 (01:04 -0700)]
DO NOT MERGE ANYWHERE Add supports-multiwindow command to am.

The supports-multiwindow command allows the ability to
check if the device has multiwindow support in the shell.

Bug: 30120559
Change-Id: I466e28d8a794fa457826a6526ef9ef660cd3856c

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 agoPublic volumes belong to a single user.
Jeff Sharkey [Wed, 2 Nov 2016 21:26:01 +0000 (15:26 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Wed, 2 Nov 2016 21:26:01 +0000 (15:26 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

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 agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 31 Oct 2016 20:33:49 +0000 (14:33 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

7 years agoPublic volumes belong to a single user.
Jeff Sharkey [Mon, 31 Oct 2016 20:33:49 +0000 (14:33 -0600)]
Public volumes belong to a single user.

When a public (vfat) device is inserted, it's strongly associated
with the current foreground user, and no other users should be able
to access it, since otherwise that would be a cross-user data leak.

To use the device under a different user, switch users and then
eject/remount the device.

Test: verified user isolation of USB drive
Bug: 32523490
Change-Id: I590c791996f1fea8d78f625dc942d149f1f41614

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