256461 Commits

Author SHA1 Message Date
vinodkrishnan
7b62df8556 Revert "DO NOT MERGE Wear Fwk: Disable Animations for A11y"
This reverts commit 8500f26d51e2ba0de7b6cd18bec5f85e5ca40e1d.

Change-Id: I6408fa3f307d7611443e26b24d3876c1a1f92fdc
2016-11-30 20:09:59 +00:00
Vinod Krishnan
8500f26d51 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
2016-10-28 16:56:25 -07:00
Fyodor Kupolov
74bd9b1f56 Merge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev
am: e97969b4d0

Change-Id: I0888cc3e628cd004887ecf0cac5fa718dc1d0f15
2016-10-28 00:21:12 +00:00
Fyodor Kupolov
7c9a91094d [DO NOT MERGE] Only setSize if -s arg is specified
am: b87a491de6

Change-Id: I33afbd12925a1afb79ed9b444948372ebbaf5e95
2016-10-28 00:21:10 +00:00
TreeHugger Robot
e97969b4d0 Merge "[DO NOT MERGE] Only setSize if -s arg is specified" into nyc-mr1-dev 2016-10-28 00:11:14 +00:00
Fyodor Kupolov
b87a491de6 [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
2016-10-27 15:29:41 -07:00
Jeff Sharkey
32dcd2cad4 Merge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev
am: 286f069221

Change-Id: Ie24d27d010b355896e92b911d574576f42417b9b
2016-10-27 20:23:26 +00:00
Jeff Sharkey
eeac5a064d Only bind to RESOLVE_EPHEMERAL_PACKAGE once.
am: 7765d7320d

Change-Id: I2ca3b6d7938a461a6fe2d591b74985908c2d07bc
2016-10-27 20:23:23 +00:00
Jeff Sharkey
286f069221 Merge "Only bind to RESOLVE_EPHEMERAL_PACKAGE once." into nyc-mr1-dev 2016-10-27 20:18:10 +00:00
TreeHugger Robot
07192ff60a Merge "Update progress bar and progress dialog to match UX specs for watch." into cw-f-dev 2016-10-27 20:06:18 +00:00
Bill Yi
3b2c3fe5ef Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 43905cc9ac  -s ours

Change-Id: Ic4ffe5558fbb0baa525e76dbb14031c4d0cedde4
2016-10-27 05:04:27 +00:00
Bill Yi
df305805c6 Import translations. DO NOT MERGE
am: 1377e2b985  -s ours

Change-Id: I33398bdb4166839276e72271097684fcd9e02655
2016-10-27 05:04:25 +00:00
Bill Yi
d557ea9388 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: ad45d97c45  -s ours

Change-Id: I3364c6eccecc274568d48f207c59be97ae78b1ce
2016-10-27 05:03:08 +00:00
Bill Yi
6296c78ee4 Import translations. DO NOT MERGE
am: d1b8917270  -s ours

Change-Id: I6cf22433138b147581a2c055160e2610e0cfc2ce
2016-10-27 05:03:06 +00:00
TreeHugger Robot
41912188e5 Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-10-27 05:01:35 +00:00
TreeHugger Robot
c2effd95e2 Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-10-27 05:01:06 +00:00
TreeHugger Robot
43905cc9ac Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-27 04:58:37 +00:00
TreeHugger Robot
ad45d97c45 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-27 04:57:01 +00:00
Bill Yi
b9cc1f603c Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
am: 696b0e4d9f  -s ours

Change-Id: I807ae6a4f2808825e8363104e8e8661d5de77a2b
2016-10-27 04:54:33 +00:00
Bill Yi
18608133d8 Import translations. DO NOT MERGE
am: c541a19fba  -s ours

Change-Id: I8540ec656b922d2a56b8ddcb58c719e52a1bb5c6
2016-10-27 04:54:31 +00:00
TreeHugger Robot
696b0e4d9f Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-27 04:45:01 +00:00
Bill Yi
c541a19fba Import translations. DO NOT MERGE
Change-Id: I637b457c6e9a20345cd5dbe599c4dce15ca9040c
Auto-generated-cl: translation import
2016-10-26 20:12:01 -07:00
Marie Janssen
6affbde556 Bluetooth: prevent enabling BLE in airplane mode
am: a80d745c65

Change-Id: I05a57fa747abedab24e0509c1fb7ab8737b2256a
2016-10-27 00:20:17 +00:00
Bill Yi
d1b8917270 Import translations. DO NOT MERGE
Change-Id: Ie1a7cb9598cadefe20558f959a3bdfa1589e7652
Auto-generated-cl: translation import
2016-10-26 16:42:29 -07:00
Bill Yi
1377e2b985 Import translations. DO NOT MERGE
Change-Id: Ia5f9329d6be981207e939150ed924eaac5bd2180
Auto-generated-cl: translation import
2016-10-26 16:21:49 -07:00
Jeff Sharkey
7765d7320d 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
2016-10-26 23:01:53 +00:00
Michael Kwan
f930e5b99b 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
2016-10-26 16:01:01 -07:00
Marie Janssen
a80d745c65 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)
2016-10-26 14:55:47 -07:00
TreeHugger Robot
7aa48283b0 Merge "Properly set the center of the circular mask." into cw-f-dev 2016-10-26 21:20:22 +00:00
Svetoslav Ganov
5ac13dcb25 Merge "[DO NOT MERGE] Don't accidentally delete renamed packages" into nyc-mr1-dev
am: e9db00e39f

Change-Id: I4141899231b1d48bb8217fe071a4146202e10ab8
2016-10-26 20:28:33 +00:00
Svetoslav Ganov
2a81b4c908 [DO NOT MERGE] Don't accidentally delete renamed packages
am: e2c85890ac

Change-Id: Icbd85ddfc76e50553414bd47860370cdc442b796
2016-10-26 20:28:30 +00:00
TreeHugger Robot
e9db00e39f Merge "[DO NOT MERGE] Don't accidentally delete renamed packages" into nyc-mr1-dev 2016-10-26 20:22:53 +00:00
Alain Vongsouvanh
63d2e41d1b 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
2016-10-26 13:01:49 -07:00
Svetoslav Ganov
e2c85890ac [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
2016-10-26 18:14:06 +00:00
Bill Yi
644a22437f Import translations. DO NOT MERGE
Change-Id: I70ad8db1fffca628251fbeaf6ef98882529a8210
Auto-generated-cl: translation import
2016-10-26 10:55:33 -07:00
Bill Yi
bff09ae3c8 Import translations. DO NOT MERGE
Change-Id: I4b30fe6cf3449cc773ff6ce0e7a896b30248d2ec
Auto-generated-cl: translation import
2016-10-26 10:47:09 -07:00
Julius D'souza
1e0055bb51 Merge "DO NOT MERGE: Add initial ambient light sensor rate" into cw-f-dev 2016-10-26 03:23:19 +00:00
Julius D'souza
82b9aff0a9 DO NOT MERGE: Add initial ambient light sensor rate
Bug: 32153559

Change-Id: Ic54bded46f88991290ed1e4d2574f865b6f598ec
2016-10-25 17:13:29 -07:00
Jorim Jaggi
66a7dc6193 Merge "Make sure to call dismissKeyguard after setOccluded" into nyc-mr1-dev
am: 7e8fc05295

Change-Id: I30c5c07b6b0308e6161607f7e89302d5af8b7c11
2016-10-25 23:39:30 +00:00
Jorim Jaggi
1d4f2b9914 Make sure to call dismissKeyguard after setOccluded
am: ec50931d88

Change-Id: Ib25480fa4efe63940fed144f4e28dee185244fad
2016-10-25 23:39:25 +00:00
Jorim Jaggi
7e8fc05295 Merge "Make sure to call dismissKeyguard after setOccluded" into nyc-mr1-dev 2016-10-25 23:32:57 +00:00
Adrian Roos
299b57410d Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev
am: db1fd054d2  -s ours

Change-Id: I9f3d116efa02bfca1df96414110722afe143a6dc
2016-10-25 22:02:49 +00:00
Adrian Roos
4e2bad2a02 Ambient: If user turned off ambient, keep it off after split
am: 21984eeaf7  -s ours

Change-Id: Ia9508033be03059a382abfaaa2adfc3e415df81b
2016-10-25 22:02:44 +00:00
Adrian Roos
db1fd054d2 Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev 2016-10-25 21:55:52 +00:00
Adrian Roos
21984eeaf7 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.
2016-10-25 19:40:34 +00:00
Adrian Roos
cb60c7a87e 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.
2016-10-25 12:37:00 -07:00
Matthew Bouyack
4f14be3d40 Merge "Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction." into cw-f-dev 2016-10-25 16:48:20 +00:00
Cheryl Potter
90d300a0b1 docs: change gpu debugger redirect b/31781348 am: afbf16f908 am: fb4f5497b7
am: 2e7c67f3cd

Change-Id: I489007830f525fa1deaabe6cc78f6b0d41e78a77
2016-10-25 15:14:15 +00:00
Cheryl Potter
2e7c67f3cd docs: change gpu debugger redirect b/31781348 am: afbf16f908
am: fb4f5497b7

Change-Id: I1c550fa22586145ec949fe54ef727be814624340
2016-10-25 15:10:22 +00:00
Cheryl Potter
fb4f5497b7 docs: change gpu debugger redirect b/31781348
am: afbf16f908

Change-Id: I6fa42074ba2fe6019f0bf817a7b21650d2a0dd43
2016-10-25 15:03:23 +00:00