OSDN Git Service
Xin Li [Wed, 9 Nov 2016 20:23:02 +0000 (20:23 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev. am:
9b9906e9c0 -s ours
am:
b9634f3081
Change-Id: Icd07d2224a1b58800f7344ff3b7928b335904446
Xin Li [Wed, 9 Nov 2016 20:11:38 +0000 (20:11 +0000)]
Merge "Merge "DO NOT MERGE - Added Emergency affordance feature" into nougat-dev" into nyc-dev.
am:
9b9906e9c0 -s ours
Change-Id: I3456ce6db555dfed284003579ef24d70ae99d13c
TreeHugger Robot [Tue, 8 Nov 2016 11:53:17 +0000 (11:53 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Tue, 8 Nov 2016 10:03:00 +0000 (02:03 -0800)]
Import translations. DO NOT MERGE
Change-Id: I1caa69921dbde7442c433f3373f17a442d1b48b3
Auto-generated-cl: translation import
Jeff Sharkey [Tue, 8 Nov 2016 00:49:41 +0000 (00:49 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am:
b232177c61 am:
0a23c1a995 am:
09e10e54f8 am:
a61e5fb9f6
am:
e9cd3aea19
Change-Id: I3b61d8fa4e3ad2ba0ba99e6918ace3a5871e128e
Jeff Sharkey [Tue, 8 Nov 2016 00:47:56 +0000 (00:47 +0000)]
Public volumes belong to a single user. am:
6b0079d3bc am:
dc89fb9390 am:
babd7e06d3 am:
8554f2d934
am:
acdcb74361
Change-Id: I78abfa2adb14c2065117be41568d0fba90a277f7
Jeff Sharkey [Tue, 8 Nov 2016 00:42:43 +0000 (00:42 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am:
34849c22e7 am:
60acc3e6ab am:
7738ebcd5c am:
8e803f734a am:
874a7af9f7
am:
aaeb6286fe
Change-Id: I33a40f027ecbd233f7e8cafd61f50479ff565dd8
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
Jeff Sharkey [Tue, 8 Nov 2016 00:33:50 +0000 (00:33 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am:
b232177c61 am:
0a23c1a995 am:
09e10e54f8
am:
a61e5fb9f6
Change-Id: I3716aa9bfc3816e9a0159560daf755fcf89904f1
Jeff Sharkey [Tue, 8 Nov 2016 00:32:05 +0000 (00:32 +0000)]
Public volumes belong to a single user. am:
6b0079d3bc am:
dc89fb9390 am:
babd7e06d3
am:
8554f2d934
Change-Id: I81c9598e3434fe44f1324a4115a9eda39047070d
Jeff Sharkey [Tue, 8 Nov 2016 00:29:22 +0000 (00:29 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am:
34849c22e7 am:
60acc3e6ab am:
7738ebcd5c am:
8e803f734a
am:
874a7af9f7
Change-Id: Ia13bf45bfb0ac5057a2a8899b0bd543c238d7d3e
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
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
Jeff Sharkey [Tue, 8 Nov 2016 00:17:51 +0000 (00:17 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am:
b232177c61 am:
0a23c1a995
am:
09e10e54f8
Change-Id: I1bb3bc5f0db563797262a8e4485f4ede25db4c99
Jeff Sharkey [Tue, 8 Nov 2016 00:16:13 +0000 (00:16 +0000)]
Public volumes belong to a single user. am:
6b0079d3bc am:
dc89fb9390
am:
babd7e06d3
Change-Id: Ib810882924443e195b31d505f8d1657914c6edfe
Jeff Sharkey [Tue, 8 Nov 2016 00:13:51 +0000 (00:13 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am:
34849c22e7 am:
60acc3e6ab am:
7738ebcd5c
am:
8e803f734a
Change-Id: I80f21d5df3b37c27a9c56c1412ae942b88264349
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
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
Jeff Sharkey [Tue, 8 Nov 2016 00:04:28 +0000 (00:04 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev am:
b232177c61
am:
0a23c1a995
Change-Id: Ib501fa0ed255de6ac64aae58ad12eaec4889d46e
Jeff Sharkey [Tue, 8 Nov 2016 00:03:04 +0000 (00:03 +0000)]
Public volumes belong to a single user. am:
6b0079d3bc
am:
dc89fb9390
Change-Id: I2b4587edb6ae1a7c4c0eb4532a7af36143c20da5
Jeff Sharkey [Tue, 8 Nov 2016 00:01:30 +0000 (00:01 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am:
34849c22e7 am:
60acc3e6ab
am:
7738ebcd5c
Change-Id: Ib812b973ddb26098f10bd88a7ec19573bdf900c0
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
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
Jeff Sharkey [Mon, 7 Nov 2016 23:54:41 +0000 (23:54 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-dev
am:
b232177c61
Change-Id: I0188c9744af905133ad36ab45705828d5286b804
Jeff Sharkey [Mon, 7 Nov 2016 23:54:35 +0000 (23:54 +0000)]
Public volumes belong to a single user.
am:
6b0079d3bc
Change-Id: Ibcd6221eaa3e15dddd0682c21eae2460cdf1683f
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
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
Jeff Sharkey [Mon, 7 Nov 2016 23:48:57 +0000 (23:48 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev am:
34849c22e7
am:
60acc3e6ab
Change-Id: I105a361b58b19c1102bef2c88a0ad5f281c793c6
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
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
Jeff Sharkey [Mon, 7 Nov 2016 23:43:23 +0000 (23:43 +0000)]
Merge "Public volumes belong to a single user." into mnc-dr-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
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
Jeff Sharkey [Mon, 7 Nov 2016 23:35:40 +0000 (23:35 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev
am:
34849c22e7
Change-Id: I5c57bb60ad565b4382184dbe55fc0e61d2fc3f0f
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
Jeff Sharkey [Mon, 7 Nov 2016 23:29:39 +0000 (23:29 +0000)]
Merge "Public volumes belong to a single user." into nyc-dev
Jeff Sharkey [Mon, 7 Nov 2016 23:27:52 +0000 (23:27 +0000)]
Merge "Public volumes belong to a single user." into mnc-dev
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
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
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
Hemal Patel [Mon, 7 Nov 2016 22:10:59 +0000 (22:10 +0000)]
Docs: Revised the Drawable example
am:
ad302b60f4
Change-Id: I3504dde2e7a31a50c59e3be239ae0160f84435ef
Hemal Patel [Mon, 7 Nov 2016 21:57:46 +0000 (21:57 +0000)]
Merge "Docs: Revised the Drawable example" into nyc-dev
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
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
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
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot [Wed, 2 Nov 2016 12:57:31 +0000 (12:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
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
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
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
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
TreeHugger Robot [Tue, 1 Nov 2016 07:30:55 +0000 (07:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
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
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
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
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
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
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
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
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
TreeHugger Robot [Thu, 27 Oct 2016 04:58:33 +0000 (04:58 +0000)]
Merge "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
TreeHugger Robot [Thu, 27 Oct 2016 04:44:58 +0000 (04:44 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
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
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
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
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
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)
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
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
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>
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>
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
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
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.
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
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
TreeHugger Robot [Tue, 25 Oct 2016 06:19:58 +0000 (06:19 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 25 Oct 2016 06:19:06 +0000 (06:19 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Cheryl Potter [Tue, 25 Oct 2016 04:29:23 +0000 (21:29 -0700)]
docs: change gpu debugger redirect
b/
31781348
Change-Id: I7e374dcec975ba45b03f1cde656a438f986c5093
Bill Yi [Tue, 25 Oct 2016 04:24:44 +0000 (21:24 -0700)]
Import translations. DO NOT MERGE
Change-Id: I9b8b5245f61dbab513ee5de6ff9c71b2bd41f3ab
Auto-generated-cl: translation import
Lifu Tang [Tue, 25 Oct 2016 04:10:44 +0000 (04:10 +0000)]
Merge "Fix GNSS status delivery to the callbacks" into nyc-mr1-dev
Bill Yi [Tue, 25 Oct 2016 04:06:04 +0000 (21:06 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8fe6b5f09b7c3daf9c630b5c36d02199248c11b3
Auto-generated-cl: translation import
George French [Tue, 25 Oct 2016 00:26:05 +0000 (00:26 +0000)]
docs: Update startService() & bindService() documentation (Proj13) am:
9748d76be9
am:
e8e196d007
Change-Id: I3d804611d1290eb6cf0fa525e492864220fb85fa
George French [Tue, 25 Oct 2016 00:19:33 +0000 (00:19 +0000)]
docs: Update startService() & bindService() documentation (Proj13)
am:
9748d76be9
Change-Id: I976128eb4c14ee2587c9cfa9c34f4b3dc006aa38
Jorim Jaggi [Mon, 24 Oct 2016 22:40:06 +0000 (15:40 -0700)]
Make sure to call dismissKeyguard after setOccluded
If we call it before, SystemUI will not dismiss the Keyguard as
it is still occluded in that state.
Change-Id: I15cf9cc43b9a2b747bfd224a6dfbd769eee19d69
Fixes:
32202560
Lifu Tang [Mon, 24 Oct 2016 20:33:47 +0000 (13:33 -0700)]
Fix GNSS status delivery to the callbacks
Bug:
32357457
Change-Id: I8f2b8dae5472cb81313417e85c092dca0aae5bd9
George French [Wed, 7 Sep 2016 16:59:32 +0000 (09:59 -0700)]
docs: Update startService() & bindService() documentation (Proj13)
Updated Update startService() and bindService() docs to mention that they
no longer support implicit intent. And mentioned that the Intellegent
job scheduling is now the preferred method for launching services.
We also performed a copy edit, implementing Google styles.
Bug:
18333456
Change-Id: I2b2ec666be870aea15045d30fbc822256d1b9a81
Pankaj Kanwar [Mon, 24 Oct 2016 02:02:48 +0000 (02:02 +0000)]
Merge "CaptivePortalLogin: set mixed content policy to compatibility." into nyc-mr1-dev
TreeHugger Robot [Sat, 22 Oct 2016 11:33:13 +0000 (11:33 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev