OSDN Git Service
Kevin Chyn [Mon, 11 Sep 2017 18:53:52 +0000 (18:53 +0000)]
Merge "Update UnlockMethodCache when keyguard visibility changes" into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 18:52:49 +0000 (18:52 +0000)]
Merge "Fix nav bar color while QS customizing." into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 18:31:47 +0000 (18:31 +0000)]
Merge "Fix broken window flag" into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 17:25:33 +0000 (17:25 +0000)]
Merge "Fix showing views after failed transition to translucent window." into oc-mr1-dev
Bryce Lee [Mon, 11 Sep 2017 17:10:28 +0000 (17:10 +0000)]
Merge "Revert "Make sure top activity is stopped on sleep if paused."" into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 16:47:57 +0000 (16:47 +0000)]
Merge "also verify existence of a package" into oc-mr1-dev
TreeHugger Robot [Mon, 11 Sep 2017 16:39:42 +0000 (16:39 +0000)]
Merge "Don't install package if it's required to be known" into oc-mr1-dev
Bryce Lee [Mon, 11 Sep 2017 16:31:15 +0000 (16:31 +0000)]
Revert "Make sure top activity is stopped on sleep if paused."
This reverts commit
01cffc296b1c40c3fbc7533c9ef885807a8dbc6c.
Reason for revert: causing b/
65498626
Bug:
65457314
Fixes:
65498626
Change-Id: I47ddfcccaf94ceadf2104973402b3cdc50876a36
TreeHugger Robot [Mon, 11 Sep 2017 16:13:40 +0000 (16:13 +0000)]
Merge "Fix intermittent build failures with droiddoc generated sources" into oc-mr1-dev
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
Tony Mak [Mon, 11 Sep 2017 15:05:34 +0000 (15:05 +0000)]
resolve merge conflicts of
56a2b529373b to nyc-dev am:
d7dcc3e227 am:
34377e0357 am:
68cce397b3 am:
4453c3cda2 am:
79a32d0a8a -s ours am:
9c358ccbe2 -s ours
am:
72bbe1d631 -s ours
Change-Id: I85f10646a50af78fdeb8f80411350ecaec06ac40
Tony Mak [Mon, 11 Sep 2017 14:52:59 +0000 (14:52 +0000)]
resolve merge conflicts of
56a2b529373b to nyc-dev am:
d7dcc3e227 am:
34377e0357 am:
68cce397b3 am:
4453c3cda2 am:
79a32d0a8a -s ours
am:
9c358ccbe2 -s ours
Change-Id: I18c8460309c8330504d50eb16ce3cb39b36d2ee1
Tony Mak [Mon, 11 Sep 2017 14:43:33 +0000 (14:43 +0000)]
resolve merge conflicts of
56a2b529373b to nyc-dev am:
d7dcc3e227 am:
34377e0357 am:
68cce397b3 am:
4453c3cda2
am:
79a32d0a8a -s ours
Change-Id: I4b97babe4f5259c71bb301d08318e09eb4560e37
TreeHugger Robot [Mon, 11 Sep 2017 14:40:02 +0000 (14:40 +0000)]
Merge "Work around issue #
65333586: Took phone out of pocket..." into oc-mr1-dev
Tony Mak [Mon, 11 Sep 2017 14:36:08 +0000 (14:36 +0000)]
resolve merge conflicts of
56a2b529373b to nyc-dev am:
d7dcc3e227 am:
34377e0357 am:
68cce397b3
am:
4453c3cda2
Change-Id: Ic48643564a3685bc602c66901c9761b741b148a5
Tony Mak [Mon, 11 Sep 2017 14:28:44 +0000 (14:28 +0000)]
resolve merge conflicts of
56a2b529373b to nyc-dev am:
d7dcc3e227 am:
34377e0357
am:
68cce397b3
Change-Id: Ieb10d27e72646260f0c75535485a6fe11efe2a32
Tony Mak [Mon, 11 Sep 2017 14:17:10 +0000 (14:17 +0000)]
resolve merge conflicts of
56a2b529373b to nyc-dev am:
d7dcc3e227
am:
34377e0357
Change-Id: Ief87ce5e1dc9e5b424d70e72144084aa778ca0d6
Tony Mak [Mon, 11 Sep 2017 14:04:00 +0000 (14:04 +0000)]
resolve merge conflicts of
56a2b529373b to nyc-dev
am:
d7dcc3e227
Change-Id: Ie10cba479c7d83ed001b863c648976a26ae30756
Tony Mak [Mon, 11 Sep 2017 10:38:07 +0000 (11:38 +0100)]
resolve merge conflicts of
56a2b529373b to nyc-dev
Merged-In: If83d8edd0eea99145421e967ae47fdc264a5cf7c
Merged-In: I129bfe850981cf0b3646b7c1cf19c8a3ec69f512
Change-Id: I81183e5b5bc702fb245a6a51afe6709c5b9dd3de
Andrei Stingaceanu [Mon, 11 Sep 2017 09:39:22 +0000 (09:39 +0000)]
Merge "TextView longpress 2 haptic feedback fix" into oc-mr1-dev
Tony Mak [Mon, 11 Sep 2017 08:44:22 +0000 (08:44 +0000)]
Merge "DPC should not be allowed to grant development permission" into mnc-dev am:
328c129f4c am:
a1cbcf5513
am:
220e7c1628
Change-Id: Ib882539bf0f362d3dbd279418d37b8fd56a9d8f1
Tony Mak [Mon, 11 Sep 2017 08:36:08 +0000 (08:36 +0000)]
Merge "DPC should not be allowed to grant development permission" into mnc-dev am:
328c129f4c
am:
a1cbcf5513
Change-Id: I37cafa9ee6e166e27c074e6317a6a818fe9e87a5
Tony Mak [Mon, 11 Sep 2017 08:26:32 +0000 (08:26 +0000)]
Merge "DPC should not be allowed to grant development permission" into mnc-dev
am:
328c129f4c
Change-Id: If2d6418cf2a71b2ae3094349101e71903c016224
TreeHugger Robot [Mon, 11 Sep 2017 08:14:19 +0000 (08:14 +0000)]
Merge "DPC should not be allowed to grant development permission" into mnc-dev
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
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
Kevin Chyn [Sat, 9 Sep 2017 00:39:01 +0000 (17:39 -0700)]
Update UnlockMethodCache when keyguard visibility changes
When screensaver (not AOD) starts, the device is still "screen-on".
Keyguard can come up in the background, and if the user dismisses
screensaver, the cache will not have been updated but the device now
requires authentication
Fixes:
65487788
Test: 1) go to settings, start screensaver
2) wait 5s for keyguard to come up beneath
3) tap on screen to dismiss screensaver
4) lock or fingerprint icon should be shown, instead of unlocked icon
Change-Id: I160e6fa03ea4f72e792c2428d4246e7f3a60ace4
Dianne Hackborn [Sat, 9 Sep 2017 00:55:00 +0000 (17:55 -0700)]
Work around issue #
65333586: Took phone out of pocket...
...and screen was flickering badly
Don't crash if we get a bad pointer ID, just log a wtf
for us to find in APR.
Bug:
65333586
Test: manual
Change-Id: I6f522e05735a64b672c011012c3e3514d454dd8f
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
Colin Cross [Wed, 6 Sep 2017 05:59:27 +0000 (22:59 -0700)]
Fix intermittent build failures with droiddoc generated sources
Jack builds fail very rarely with missing droiddoc generated
source files. This happens because jack builds have an extra
rule that does a quick check of the sources and touches a
jack.check.timestamp file. The manual dependencies for the
generated sources didn't cover this case. If the sources are
partially generated when the jack.check.timestamp rule runs,
the rule can see partial sources and fail. The same problem
might also happen for javac builds after
https://android-review.googlesource.com/c/platform/build/+/404743
separated the source list generation rule out of the
$(full_classes_jar) rule.
Use LOCAL_ADDITIONAL_DEPENDENCIES instead, which covers these
cases and will be updated to cover future changes.
Bug:
65255877
Test: m -j ANDROID_COMPILE_WITH_JACK=true out/target/common/obj/JAVA_LIBRARIES/android.test.runner.stubs_intermediates/jack.check.timestamp
make sure sources are generated
Change-Id: I4466b3128eb0bba6447c24abf921a6655a3d451f
Merged-In: I4466b3128eb0bba6447c24abf921a6655a3d451f
(cherry picked from commit
85ab406eb2abd2e98fa9a67384223592692c08a9)
TreeHugger Robot [Fri, 8 Sep 2017 23:08:45 +0000 (23:08 +0000)]
Merge "Fixed a flakey test" into oc-mr1-dev
George Mount [Fri, 8 Sep 2017 22:38:30 +0000 (15:38 -0700)]
Fix showing views after failed transition to translucent window.
Bug:
65268614
When an activity transition was used with the top activity being
translucent, and the top activity calls finish() instead of
finishAfterTransition(), the transitioned views were not being
drawn properly. The source of the problem was that
setTransitionVisibility() was being used instead of setVisibility().
Transitions normally use setTransitionVisibility() to modify
the view's visibility without triggering an invalidation. But
when we want the view to be invalidated by the visibility change,
setTransitionVisibility() prevents the invalidate() from
actually invalidating the view.
Test: manual
Change-Id: I250ea232052d1a1309d3341504cba77543a94eec
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
Todd Kennedy [Fri, 8 Sep 2017 21:27:16 +0000 (14:27 -0700)]
Don't install package if it's required to be known
During package scaning, we can require packages to be known. This
allows us to determine if an install was interrupted by checking
the previously known path with the current scanned path. However,
if the package wasn't known at all, we allowed the newly scanned
package to be installed. Instead, these completely unknown
packages should be removed as incomplete installs.
One side effect of the existing code is when new apps randomly
appear on /data/app, they will be installed. This is not behaviour
we want to support. Instead, applications should always be
installed through "adb install".
Change-Id: I3169482ab9ead252c0e91b415fa4da056abeed4a
Fixes:
65162907
Test: Manual
Test: cherry-pick ag/
2863255
Test: adb install Foo.apk
Test: adb shell setprop fw.poke com.android.foo
Test: adb shell stop && adb shell start
Test: see entries in persistent package manager logs for removing app & data [adb shell dumpsys package messages]
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
Todd Kennedy [Fri, 8 Sep 2017 17:45:46 +0000 (10:45 -0700)]
also verify existence of a package
During an OTA, if a system app is replaced, keeping the same
directory but changing the package name, it's possible to have
a phantom disabled system package setting. In this scenario,
check that the disabled system package is actually backed by
a package.
Change-Id: Ifdaa3b3202256f3b039b0281ba6ab9d669d4b359
Fixes:
65367640
Test: Manual
Test: Create /system/app/Foo/Foo.apk
Test: upgrade app [adb install -r com.foo]
Test: Replace /system/app/Foo/Foo.apk w/ a new package name
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
Andrei Stingaceanu [Thu, 7 Sep 2017 13:12:38 +0000 (14:12 +0100)]
TextView longpress 2 haptic feedback fix
TextView#performLongClick() calls View#performLongClick which
calls View#performLongClickInternal() which, if handled, performs
the longpress haptic feedback and returns handled. TextView
looks at this return value and if it is true then makes another
call to perform longpress haptic feedback. Remove the duplicate
call in TextView as the one in the parent (View) is sufficient.
Bug:
65397911
Test: manual
Change-Id: Ic73a86637486d5382b63f1c1b37783e238452841
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