OSDN Git Service
android-build-team Robot [Mon, 11 Sep 2017 19:56:13 +0000 (19:56 +0000)]
Merge cherrypicks of [
2878293] into oc-mr1-release
Change-Id: I386826e3901bacaf05c5b7c30247458575689cff
Jason Monk [Mon, 11 Sep 2017 15:54:12 +0000 (08:54 -0700)]
Fix broken window flag
It got lost in reverts and un-reverts.
Test: open settings
Change-Id: I243209a8d2b63ef57829abfdd3f14c00dfdf25ea
Fixes:
65495538
(cherry picked from commit
d7acd169212f0c3249d740aa10f876e0677622cd)
android-build-team Robot [Mon, 11 Sep 2017 07:23:53 +0000 (07:23 +0000)]
release-request-
e7acb21b-1563-43e3-8840-
63c103b127b9-for-git_oc-mr1-release-
4327239 snap-temp-L63900000101147407
Change-Id: Ie6d5771c25173d4627e29081e5cd0a21827fd9b0
TreeHugger Robot [Mon, 11 Sep 2017 06:28:35 +0000 (06:28 +0000)]
Merge "TV PIP: Keep the PIP at the bottom for RTL language" into oc-mr1-dev
Suprabh Shukla [Mon, 11 Sep 2017 05:49:46 +0000 (05:49 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0 am:
4b8fb78007 -s ours am:
3f824a362f -s ours am:
467ed9d15a -s ours am:
6a48feaab8 -s ours am:
67f43835ad -s ours am:
3beb50ba24 -s ours am:
d5c753a6e5 -s ours
am:
81f4636ffa -s ours
Change-Id: Ifc1ceea9b251086ded47e6a98186175e2291d17a
Suprabh Shukla [Mon, 11 Sep 2017 05:35:27 +0000 (05:35 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0 am:
4b8fb78007 -s ours am:
3f824a362f -s ours am:
467ed9d15a -s ours am:
6a48feaab8 -s ours am:
67f43835ad -s ours am:
3beb50ba24 -s ours
am:
d5c753a6e5 -s ours
Change-Id: I337f3213d40930c9b844a7eb246b184d9681703f
Suprabh Shukla [Mon, 11 Sep 2017 05:21:07 +0000 (05:21 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0 am:
4b8fb78007 -s ours am:
3f824a362f -s ours am:
467ed9d15a -s ours am:
6a48feaab8 -s ours am:
67f43835ad -s ours
am:
3beb50ba24 -s ours
Change-Id: Ife3545f0c707b9616e5d0c6026e93bc0132a09c6
Suprabh Shukla [Mon, 11 Sep 2017 05:09:32 +0000 (05:09 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0 am:
4b8fb78007 -s ours am:
3f824a362f -s ours am:
467ed9d15a -s ours am:
6a48feaab8 -s ours
am:
67f43835ad -s ours
Change-Id: I71f6d14cd5df5c556f4794ca581146c38d3af9c8
Suprabh Shukla [Mon, 11 Sep 2017 04:55:50 +0000 (04:55 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0 am:
4b8fb78007 -s ours am:
3f824a362f -s ours am:
467ed9d15a -s ours
am:
6a48feaab8 -s ours
Change-Id: Ie05f69480ee2aec055dad3622072f3fc5e569e8a
Suprabh Shukla [Mon, 11 Sep 2017 04:41:52 +0000 (04:41 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0 am:
4b8fb78007 -s ours am:
3f824a362f -s ours
am:
467ed9d15a -s ours
Change-Id: I81bac89584c667c35b7fff8ff3446c57c73cf617
Suprabh Shukla [Mon, 11 Sep 2017 04:29:03 +0000 (04:29 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0 am:
4b8fb78007 -s ours
am:
3f824a362f -s ours
Change-Id: Ice5595805d71402bbfbdda2efe44e180f346d54b
Suprabh Shukla [Mon, 11 Sep 2017 04:10:16 +0000 (04:10 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361 am:
54f494ffc0
am:
4b8fb78007 -s ours
Change-Id: Idaff77e48bf3901ef0cbff54d3ceb19223a48338
Tony Mak [Mon, 11 Sep 2017 03:53:03 +0000 (03:53 +0000)]
Merge "DPC should not be allowed to grant development permission" into oc-dev am:
5e4b2b15ec
am:
f1aea743fd
Change-Id: I80e7885580b9ac17eaf8d7f232684b357b1c84da
Tony Mak [Mon, 11 Sep 2017 03:41:57 +0000 (03:41 +0000)]
Merge "DPC should not be allowed to grant development permission" into oc-dev
am:
5e4b2b15ec
Change-Id: I54c0be2c389aacb367b3c8c7e749475dced25f3c
TreeHugger Robot [Mon, 11 Sep 2017 03:22:05 +0000 (03:22 +0000)]
Merge "DPC should not be allowed to grant development permission" into oc-dev
Suprabh Shukla [Sun, 10 Sep 2017 21:00:56 +0000 (21:00 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b am:
4f31a88d4b am:
bf1b7e9030 -s ours am:
84aa3f4c81 -s ours
am:
a8e0d5f73a -s ours
Change-Id: I34f6294cfa3d9e23bfe9b3f0edfb03da4fd5dfd2
Suprabh Shukla [Sun, 10 Sep 2017 20:47:27 +0000 (20:47 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b am:
4f31a88d4b am:
bf1b7e9030 -s ours
am:
84aa3f4c81 -s ours
Change-Id: I701fa204e66a8dd239e3ed3913f734e8ea503049
Suprabh Shukla [Sun, 10 Sep 2017 20:29:17 +0000 (20:29 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b am:
4f31a88d4b
am:
bf1b7e9030 -s ours
Change-Id: Ifcb9a5a08af1722bc5df28c470d4ca356b865acb
Suprabh Shukla [Sun, 10 Sep 2017 20:16:00 +0000 (20:16 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124 am:
25ec24740b
am:
4f31a88d4b
Change-Id: Ia97ee26a24e49809ad7484f850d256bc733ee239
Suprabh Shukla [Sun, 10 Sep 2017 20:01:33 +0000 (20:01 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229 am:
7d9e844124
am:
25ec24740b
Change-Id: I858f75717157bd9269bcd43d4198935302132d5a
Suprabh Shukla [Sun, 10 Sep 2017 20:00:05 +0000 (20:00 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73 am:
bf1b308361
am:
54f494ffc0
Change-Id: Ibbdf82686d13d9a554ef62774f140c57115118a3
Suprabh Shukla [Sun, 10 Sep 2017 19:48:10 +0000 (19:48 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev am:
fc9e382229
am:
7d9e844124
Change-Id: Ifc197fbb16e1bb6773b2f08c7c62ca92f82238f7
Suprabh Shukla [Sun, 10 Sep 2017 19:47:46 +0000 (19:47 +0000)]
Clearing up invalid entries when SyncStorageEngine starts am:
5470469d73
am:
bf1b308361
Change-Id: Ia01d70256824947bed5e88e103bc263749404fbb
Suprabh Shukla [Sun, 10 Sep 2017 19:32:22 +0000 (19:32 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev
am:
fc9e382229
Change-Id: I80e814ed0266b3868bd7039508bbc50b2e2a51aa
Suprabh Shukla [Sun, 10 Sep 2017 19:32:12 +0000 (19:32 +0000)]
Clearing up invalid entries when SyncStorageEngine starts
am:
5470469d73
Change-Id: I8ffaaf35be0e2586a5bdbbe5de6e6bd440e26017
TreeHugger Robot [Sun, 10 Sep 2017 19:25:54 +0000 (19:25 +0000)]
Merge "Clearing up invalid entries when SyncStorageEngine starts" into nyc-dev
android-build-team Robot [Sun, 10 Sep 2017 07:25:51 +0000 (07:25 +0000)]
release-request-
946c768b-83eb-4b7b-83e7-
5737856fa8ec-for-git_oc-mr1-release-
4326576 snap-temp-L80300000101054689
Change-Id: I89c5479f9ef423b97a569bc8bf245192cf248c9b
TreeHugger Robot [Sun, 10 Sep 2017 05:31:42 +0000 (05:31 +0000)]
Merge "Revert "Remove a compat hack SurfaceView#setWindowType()"" into oc-mr1-dev
TreeHugger Robot [Sun, 10 Sep 2017 04:37:35 +0000 (04:37 +0000)]
Merge "Documented use of AutofillManager.notifyViewVisibilityChanged()" into oc-mr1-dev
Yohei Yukawa [Sun, 10 Sep 2017 00:45:27 +0000 (17:45 -0700)]
Revert "Remove a compat hack SurfaceView#setWindowType()"
This CL reverts my previous CL [1] that aimed to get rid of
a nasty compatibility hack that was introduced for Bug
36345857.
For those who are interested in, what happenned are:
1. @hide method SurfaceView#setWindowType() was removed [2].
2. It broke some app (Bug
36345857). We had to work around
it by re-introducing SurfaceView#setWindowType()
temporarily [3].
3. Some app switched to the correct implementation when
running on Android O devices.
4. We removed that compatibility hack [1] (Bug
62054282).
5. Android O MR1 is set to be "REL" [4].
6. It broke some app, probably because of some unfortunate
mistake in the version check logic in that app.
7. We end up introducing the same hack again for O MR1.
[1]: Icee198c554de558cfa4ffe0b264064969839654e
7a1ad6d97ca1984789446211a986d5ad1b5c81e2
[2]: Ie56b6f7ab16f32d7fc459b8eba26594337ad55de
d5c7dd6da810a6b89151b337bea79fd817e6b72a
[3]: I5217f6417a73690ae8a978754218b7b089070fdd
3b5011afc9e17963607269bfb6665d04e3ab4ca1
[4]: I054e3ecff49803e61e7741753fe6764a567d72c4
62a835d0ef89e51f4a97fecf8576224551b545a5
Bug:
36345857
Bug:
62054282
Fixes:
65508814
Test: Manually verified that Bug
65508814 is not reproducible
Change-Id: If8a3f726789daa22f73e1962e938f071d3c09414
TreeHugger Robot [Sat, 9 Sep 2017 09:04:39 +0000 (09:04 +0000)]
Merge "Don't log TYPE_DATASET_SELECTED on dataset authentication." into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 07:03:01 +0000 (07:03 +0000)]
Merge "Destroy Save UI when it's hidden without a pending restoration." into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 04:01:35 +0000 (04:01 +0000)]
Merge "Added more logging to diagnose a racy runtime restart." into oc-mr1-dev
Felipe Leme [Fri, 8 Sep 2017 16:37:57 +0000 (09:37 -0700)]
Destroy Save UI when it's hidden without a pending restoration.
This scenario typically happens when the BACK button is tapped after
the SaveUI is restored.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.SimpleSaveActivityTest#testTapLink_launchTrampolineActivityThenTapBackAndStartNewSession
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.PreSimpleSaveActivityTest#testTapLink_launchTrampolineActivityThenTapBackAndStartNewSession
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes:
65459113
Merged-In: I07c6d9b6d219889c50caeaff99b883841b87d9cc
Change-Id: I07c6d9b6d219889c50caeaff99b883841b87d9cc
TreeHugger Robot [Sat, 9 Sep 2017 01:39:52 +0000 (01:39 +0000)]
Merge "Follow-up on bug #
65298216: DeviceIdleController needs to..." into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 01:04:14 +0000 (01:04 +0000)]
Merge "Sealed sessions need to be destroyed or validated" into oc-mr1-dev
TreeHugger Robot [Sat, 9 Sep 2017 00:14:03 +0000 (00:14 +0000)]
Merge "Add logging const for smart setting suggestion enabled/disabled state" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 23:08:45 +0000 (23:08 +0000)]
Merge "Fixed a flakey test" into oc-mr1-dev
Bryce Lee [Fri, 8 Sep 2017 22:57:25 +0000 (22:57 +0000)]
Merge "Do not process set WindowAnimator param when screen is already on." into oc-mr1-dev
Tomasz Wasilczyk [Fri, 8 Sep 2017 22:28:49 +0000 (22:28 +0000)]
Merge "Fix NativeCallbackThread race condition." into oc-mr1-dev
Philip P. Moltmann [Fri, 8 Sep 2017 16:46:22 +0000 (09:46 -0700)]
Sealed sessions need to be destroyed or validated
- Always destroy session on validate failure.
- Always validate session when restoring a sealed session.
- Never persist destroyed sessions
Fixes:
65456964
Test: cts-tradefed run singleCommand cts-dev -m CtsContentTestCases --test=android.content.pm.cts.InstallSessionTransferTest
Installed apps via Google Play Store
Installed apps via Package installer
Change-Id: I38940608eca6d32a9a454937d273706f3ce57d79
Phil Weaver [Fri, 8 Sep 2017 21:56:38 +0000 (21:56 +0000)]
Merge "Don't call disconnected AccessibilityServices" into oc-mr1-dev
Calin Juravle [Fri, 8 Sep 2017 21:55:28 +0000 (21:55 +0000)]
Merge "Handle configuration splits when creating the class loader context" into oc-mr1-dev
Felipe Leme [Fri, 8 Sep 2017 21:51:51 +0000 (21:51 +0000)]
Merge "Javadoc: Added alternative to Package verification." into oc-dev am:
092349600d
am:
33d476c170
Change-Id: I59c6ddc48fad9178b03c7a1da7957238d4045ea7
Soroosh Mariooryad [Thu, 7 Sep 2017 15:45:18 +0000 (08:45 -0700)]
Add logging const for smart setting suggestion enabled/disabled state
Test: builds
Bug:
64121058
Change-Id: I4136d9bfab8c828e85b36ee25421189389a5dddc
Merged-In: I9d1e27082d535da90a5a30f6c2fc9b717c07bf1b
TreeHugger Robot [Fri, 8 Sep 2017 21:48:08 +0000 (21:48 +0000)]
Merge "Camera: fix race in onRepeatingRequestError callback" into oc-mr1-dev
Daniel Nishi [Fri, 8 Sep 2017 21:42:56 +0000 (21:42 +0000)]
Merge "Cap user-visible cache size at quota." into oc-mr1-dev
Felipe Leme [Fri, 8 Sep 2017 21:41:36 +0000 (21:41 +0000)]
Merge "Javadoc: Added alternative to Package verification." into oc-dev
am:
092349600d
Change-Id: Ic765df95fc660fb0df8a0f027d739ea999a36702
Hall Liu [Fri, 8 Sep 2017 21:39:29 +0000 (21:39 +0000)]
Merge changes from topics "embms-0728-adjustments", "embms-0721-adjustments", "fix-streaming-api", "mock-unhide-embms-streaming" into oc-mr1-dev
* changes:
Embms adjustments for 7/28
Embms API adjustments for 7/21
Fix lint errors in the streaming API
Mock-un-hide the MBMS streaming APIs
TreeHugger Robot [Fri, 8 Sep 2017 21:28:02 +0000 (21:28 +0000)]
Merge "Javadoc: Added alternative to Package verification." into oc-dev
TreeHugger Robot [Fri, 8 Sep 2017 21:14:01 +0000 (21:14 +0000)]
Merge "Fixed the icon clipping of the notification shelf" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 21:13:02 +0000 (21:13 +0000)]
Merge "Add pseudo-filtering on authenticated views." into oc-mr1-dev
Bryce Lee [Fri, 8 Sep 2017 20:56:52 +0000 (20:56 +0000)]
Merge "Make sure top activity is stopped on sleep if paused." into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 20:55:05 +0000 (20:55 +0000)]
Merge "Update QS if the content gets stale" into oc-mr1-dev
Dianne Hackborn [Fri, 8 Sep 2017 20:45:35 +0000 (13:45 -0700)]
Follow-up on bug #
65298216: DeviceIdleController needs to...
...watch interactivity, not display state
Fix locking.
Bug:
65298216
Test: manual
Change-Id: If761ce73c82c23295720aea73c3a7fdda40ceedf
Selim Cinek [Fri, 8 Sep 2017 20:24:21 +0000 (13:24 -0700)]
Fixed a flakey test
Since the test could be off the UI thread, cancelling
would not be synchronized properly.
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Change-Id: Icfb02b637b76cdfb853c88130eabddf75203909b
Fixes:
65031224
TreeHugger Robot [Fri, 8 Sep 2017 20:20:12 +0000 (20:20 +0000)]
Merge "Make settings themed apps have light nav DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 20:05:37 +0000 (20:05 +0000)]
Merge "Define priority for video threads" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 19:47:52 +0000 (19:47 +0000)]
Merge "Fixes recents entrance animation when launching before onStop happens" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 19:08:47 +0000 (19:08 +0000)]
Merge "OemLockService: remove canUserAllowOemUnlock()" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 19:08:06 +0000 (19:08 +0000)]
Merge "Fixed CharSequenceTransformation to use find() instead of matches()." into oc-mr1-dev
Yin-Chia Yeh [Wed, 6 Sep 2017 01:14:21 +0000 (18:14 -0700)]
Camera: fix race in onRepeatingRequestError callback
Test: CTS
Bug:
64180296
Change-Id: I72b76695d580d2cfddb02a6da9d7ab04cdcfb98a
Felipe Leme [Wed, 6 Sep 2017 16:10:51 +0000 (09:10 -0700)]
Don't log TYPE_DATASET_SELECTED on dataset authentication.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug:
65007529
Fixes:
65403592
Merged-In: I98f1198cbe1836c8154b73a1227be4f6947abc19
Change-Id: I98f1198cbe1836c8154b73a1227be4f6947abc19
Jason Monk [Fri, 1 Sep 2017 16:40:06 +0000 (12:40 -0400)]
Make settings themed apps have light nav DO NOT MERGE
This is needed to help with differential aging.
The nav needs to be white with a 1dp divider on it, so add support
for the divider and add hidden attribute to set the nav buttons
inverted.
Change-Id: I4a5329f7486a6774ca4de8362caebbe8ba421aad
Test: Open settings
Bug:
63630024
TreeHugger Robot [Fri, 8 Sep 2017 16:59:14 +0000 (16:59 +0000)]
Merge "Always treat password as sufficient if no password policy is set" into oc-mr1-dev
Daniel Sandler [Fri, 8 Sep 2017 16:41:38 +0000 (16:41 +0000)]
Merge "Cat rescue." into oc-mr1-dev
Tomasz Wasilczyk [Thu, 7 Sep 2017 21:44:40 +0000 (14:44 -0700)]
Fix NativeCallbackThread race condition.
Bug: b/
65286959
Test: instrumentation
Change-Id: I0086a362b9b916d87118ed478aa8222874df19b1
Andrew Scull [Thu, 7 Sep 2017 13:03:21 +0000 (14:03 +0100)]
OemLockService: remove canUserAllowOemUnlock()
No longer used by Settings as the logic was wrong.
Test: gts-tradefed run gts -m GtsOemLockServiceTestCases
Bug:
65124732
Change-Id: I44e5f697aabd2b5eefecf64060502b5c9ef5f911
(cherry picked from commit
d37fe2d3e1cbf03161df9f4e16f791a99445cdc1)
Jason Monk [Wed, 6 Sep 2017 21:33:01 +0000 (17:33 -0400)]
Update QS if the content gets stale
For system tiles this is more often, but for 3P tiles its pretty rare
except for on boot.
Test: runtest systemui
Fixes:
34804413
Change-Id: I166e2ab6a609acd63b9b4f19579bab12beabba27
Bryce Lee [Wed, 6 Sep 2017 21:55:48 +0000 (14:55 -0700)]
Do not process set WindowAnimator param when screen is already on.
Doing so can lead to the param be processed during onPause,
potentially causing the device erroneously waking up.
Change-Id: Id0f0bc74873e6e41bd2b10dc423a435ca050947f
Fixes:
65412431
Bug:
65385210
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerActivityVisibilityTests#testTurnScreenOnActivity_withRelayout
Todd Kennedy [Fri, 8 Sep 2017 13:29:49 +0000 (13:29 +0000)]
Merge "skip filtered entries instead of returning" into oc-mr1-dev
Rubin Xu [Fri, 8 Sep 2017 11:08:26 +0000 (12:08 +0100)]
Always treat password as sufficient if no password policy is set
Handle the special case when work profile is freshly created on a FDE device
Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases
-t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testPasswordSufficientInitially
Bug:
63887564
Change-Id: Ie8e430d4ff63be74fb2d4fc3ad3a8735f1de48b0
Jaewan Kim [Fri, 8 Sep 2017 09:37:58 +0000 (18:37 +0900)]
TV PIP: Keep the PIP at the bottom for RTL language
Bug:
64840268
Test: Manual
Change-Id: I9d23854e51a19e6afef21c603634e57e126b7c14
android-build-team Robot [Fri, 8 Sep 2017 07:35:12 +0000 (07:35 +0000)]
release-request-
8cd2a23c-f767-488e-8139-
390d1636483f-for-git_oc-mr1-release-
4323561 snap-temp-L80400000100600189
Change-Id: Ifc7a1a7d60f81778327e3dcfe699b81d3c579f9e
TreeHugger Robot [Fri, 8 Sep 2017 06:36:44 +0000 (06:36 +0000)]
Merge "Add method to update tile's remoteview using summaryUri" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 05:48:58 +0000 (05:48 +0000)]
Merge "Alternative fix for preventing PiP from screenshot sharing." into oc-mr1-dev
Bryan Eyler [Fri, 8 Sep 2017 05:28:31 +0000 (05:28 +0000)]
Merge "Add spacing in QS footer and user switcher." into oc-mr1-dev
Bryan Eyler [Fri, 8 Sep 2017 05:27:52 +0000 (05:27 +0000)]
Merge "Add username beside user switch." into oc-mr1-dev
Sujith Ramakrishnan [Fri, 8 Sep 2017 04:25:15 +0000 (04:25 +0000)]
Merge "Make ASSIST launch VIS and add a new keycode for TV (ALL_APPS)" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 04:04:35 +0000 (04:04 +0000)]
Merge "ONA: Make ONA related broadcasts protected." into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 02:38:59 +0000 (02:38 +0000)]
Merge "Always enable nav and status bar opaque/translucency" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 02:26:02 +0000 (02:26 +0000)]
Merge "Javadoc update for permission requirements" into oc-mr1-dev
TreeHugger Robot [Fri, 8 Sep 2017 02:21:21 +0000 (02:21 +0000)]
Merge "Fixes seascape recents task centering for low ram devices" into oc-mr1-dev
Jeff Tinker [Thu, 7 Sep 2017 23:46:50 +0000 (16:46 -0700)]
Define priority for video threads
Video threads have soft realtime requirements that
must be met in order to maintain reliable frame delivery
even when the system is under high load. A new priority
has been defined that can be used by video threads to
enable them to be scheduled appropriately relative
to other system threads. This CL updates the media codec
looper to use the new priority.
Tests: GTS media tests, Manual verification with
Play Movies, Netflix, com.google.vr.sdk.samples.videoplayer
Change-Id: Ibfee09bb6a5359ab96ec2184775c486e4bd77871
related-to-bug:
63898080
TreeHugger Robot [Fri, 8 Sep 2017 02:09:04 +0000 (02:09 +0000)]
Merge "Updates the background of the clear all button for low ram devices" into oc-mr1-dev
Selim Cinek [Fri, 8 Sep 2017 01:56:49 +0000 (01:56 +0000)]
Merge "Changed the accessibility experience for notifications" into oc-mr1-dev
Selim Cinek [Fri, 8 Sep 2017 01:53:17 +0000 (18:53 -0700)]
Fixed the icon clipping of the notification shelf
Before the icon wasn't clipped to it's notification container
and could go out of bounds. We're now clipping it to it's
surrounding notification.
Change-Id: I1b9a3650eb3e3f0bcd7d7cef087afb7cc41ccf62
Fixes:
63477094
Test: add notifications, observe icon animations, better clipping
Stephen Chen [Tue, 5 Sep 2017 19:51:15 +0000 (12:51 -0700)]
ONA: Make ONA related broadcasts protected.
Bug:
65257065
Bug:
37357441
Test: build with ONA, check that broadcasts do not log WTF errors.
Change-Id: I623da59f5cc7ca3feff6cc156664c05fbeb34107
TreeHugger Robot [Fri, 8 Sep 2017 01:00:35 +0000 (01:00 +0000)]
Merge "Improve NewDatabasePerformanceTests" into oc-mr1-dev
Winson Chung [Thu, 7 Sep 2017 21:05:42 +0000 (14:05 -0700)]
Alternative fix for preventing PiP from screenshot sharing.
- Revert
942a85c6d608dd6a4a31937fe0b57ae43105d5b2
- Use a more specific fix for the triggering of PiP from the SysUI
screenshot share intent.
Bug:
63984385
Bug:
63581685
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: Click share on the screenshot action, ensure activity below does
not enter PiP
Change-Id: Id8041d50dd429030c20940dca19e5c62bbc0c6a4
Fyodor Kupolov [Fri, 8 Sep 2017 00:13:51 +0000 (00:13 +0000)]
Merge "Allow using SQLiteGlobal for testing" into oc-mr1-dev
Amith Yamasani [Tue, 5 Sep 2017 20:41:19 +0000 (13:41 -0700)]
Javadoc update for permission requirements
Bluetooth scanning requires holding these permissions for results
to be delivered.
Bug:
65013767
Test: N/A
Change-Id: I0b5fa9efa7fc8d5cff25319fbd7719cedee6a4aa
Matthew Ng [Fri, 1 Sep 2017 19:45:04 +0000 (12:45 -0700)]
Always enable nav and status bar opaque/translucency
Removed the logic to enable or disable translucency and have it fully
enable all the time. Having it on has very or no impact on RAM.
Test: boot device and look at nav and status bar
Change-Id: Id9e613abc689ab8c1b53424aa92e864f75f8ed02
Fixes:
65286386
Sujith Ramakrishnan [Wed, 19 Jul 2017 01:35:14 +0000 (18:35 -0700)]
Make ASSIST launch VIS and add a new keycode for TV (ALL_APPS)
- KEYCODE_ASSIST: Looks for default VIS in system partition
and launches it.
- Ensure foreground activity assist context extras are collected
and sent to VIS.
- KEYCODE_ALL_APPS: Sends Intent.ACTION_ALL_APPS. For TV,
this targets default launcher package in system partition.
Test: Manual: ASSIST: adb shell input keyevent 219
Test: Manual: ALL_APPS: adb shell input keyevent 284
Test: also tested with --longpress for these keys
Test: Manual: Checked with dummy app populating overridden
onProvideAssistData()
Test: Keypresses after overriding ALL_APPS and ASSIST
on Nexus Remote
Bug:
37950079
Bug:
38496261
Change-Id: I96d9de67d4a442a8c6cb7feec28fc9aeb0dcbc18
Jack He [Thu, 7 Sep 2017 23:12:25 +0000 (23:12 +0000)]
Merge "Bluetooth: add metrics for pairing with devices without names" into oc-mr1-dev
Selim Cinek [Thu, 7 Sep 2017 22:43:13 +0000 (15:43 -0700)]
Changed the accessibility experience for notifications
The expand button is now not labeling the notification
anymore since it was too wordy.
Change-Id: I14374b1a97389b8441fdf44eb4993954e765e89f
Fixes:
65123834
Test: use talkback and navigate to expand button, verify not speaking notification anymore
Felipe Leme [Thu, 7 Sep 2017 22:21:01 +0000 (15:21 -0700)]
Fixed CharSequenceTransformation to use find() instead of matches().
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases -t android.autofillservice.cts.CharSequenceTransformationTest#testReplaceAllByOne
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Fixes:
65459117
Change-Id: Ib5ff31b6b12e5583e736a0593e941e1556ae7384
Matthew Ng [Thu, 7 Sep 2017 00:10:06 +0000 (17:10 -0700)]
Fixes seascape recents task centering for low ram devices
Added missing system insets left to the calculation.
Test: manual - go to recents and rotate to seascape
Change-Id: I25cd2f35b81e350e2934859423985257c4d6daea
Fixes:
65420616
Fyodor Kupolov [Sat, 22 Jul 2017 02:36:50 +0000 (19:36 -0700)]
Improve NewDatabasePerformanceTests
They didn't properly report timings. It included setup time.
Also cleaned up code and added CREATE TABLE performance test.
Cherry-pick from
66c1852cced1c09f2dc7d536efd875c44d9a1cfe
Test: run_newdb_perf_test.sh
Bug:
63942513
Bug:
65302651
Merged-In: I15fcb5fa43f81e8ea39c2e29252527a8f3714398
Change-Id: I15fcb5fa43f81e8ea39c2e29252527a8f3714398
Todd Kennedy [Thu, 7 Sep 2017 21:22:23 +0000 (14:22 -0700)]
skip filtered entries instead of returning
When retrieving all packages / apps on the system, we should just
skip over any filtered entries rather than returning 'null'.
Change-Id: If874be3904b6d5a1103e099eb2ddff839091121e
Fixes:
65389431
Test: Manual:
Test: bit FrameworksCoreTests:android.content.pm.PackageManagerTests\#testGetInstalledPackages ; passes
Test: adb install --instantapp somepackage.apk
Test: bit FrameworksCoreTests:android.content.pm.PackageManagerTests\#testGetInstalledPackages ; passes