647186 Commits

Author SHA1 Message Date
Chris Tate
e833132601 Merge "Consistent reporting of failure conditions" into sc-dev 2021-07-28 21:19:45 +00:00
Lyn Han
0f8dfa5326 Add logs to ensure that QS / NPVC clip bounds match
Bug: 191436459
Test: treehugger
Change-Id: I07dbb58b234bee06c31a67fd38ab363ff13d9458
Merged-In: I07dbb58b234bee06c31a67fd38ab363ff13d9458
2021-07-28 20:26:25 +00:00
Riddle Hsu
7b4e645ce0 Merge "Wait for notification shade to redraw on orientation change" into sc-dev 2021-07-28 20:08:18 +00:00
Ameer Armaly
1219bfb27f Merge "TouchExplorerTest: fix run error." into sc-dev 2021-07-28 19:08:31 +00:00
Daniel Sandler
299c0567a5 Merge "Fix missing exported=true in manifest." into sc-dev 2021-07-28 18:54:41 +00:00
Daniel Solomon
d5e1458566 Merge "Revert "SCREEN_BRIGHTNESS - map 255 to current max"" into sc-dev 2021-07-28 17:42:43 +00:00
Daniel Solomon
792229b553 Revert "SCREEN_BRIGHTNESS - map 255 to current max"
This reverts commit 002e656a515da3f1d19f1d23ab7b776df3cfd77d.

Reason for revert: Setting brightness using adb (adb shell settings put system screen_brightness ...) results in different brightness being set by DisplayPowerController each time.

Bug: 194791517
Test: atest HighBrightnessModeControllerTest
Test: manually test `settings put system screen_brightness 23` yields
      consistent results
Change-Id: I6b49253b46e4d09a1f4129d3df950c9d36eb6ede
2021-07-28 17:17:15 +00:00
Joe Bolinger
598a7988be Merge "Prevent fingerprint icon from showing when unlocking while fingerprint is in lockout." into sc-dev 2021-07-28 17:11:33 +00:00
Jay Aliomer
c2d9287c97 Merge "WallpaperService crashes becuase of a log statement" into sc-dev 2021-07-28 15:17:46 +00:00
Riddle Hsu
d9febb56d7 Wait for notification shade to redraw on orientation change
It was skipped to reduce rotation latency. But it may look
flashing if the top app is redrawn much faster than the
notification shade or the background colors are not similar.

Bug: 194610242
Test: Expand notification shade and rotate device while the
      foreground app can handle orientation change quickly.
Change-Id: I1a4870d9f237bad9088159f5979048b4cdcbf287
2021-07-28 14:58:48 +00:00
Antoan Angelov
da685b239c Merge "Revert "Revert "Revert "Revert "Launch admin policies settings screen if not possible to""" into sc-dev 2021-07-28 14:13:41 +00:00
Fabian Kozynski
842ebcdb44 Merge "Save space in small width screens" into sc-dev 2021-07-28 13:23:49 +00:00
Beverly Tai
ebe9e34fbb Merge "Only set userHasDeviceEntryIntent on keyguard" into sc-dev 2021-07-28 13:21:09 +00:00
TreeHugger Robot
1181f3e9aa Merge "Fix ANR when switching the app task but IME selection dialog focused" into sc-dev 2021-07-28 11:50:16 +00:00
Dan Sandler
da43596112 Fix missing exported=true in manifest.
Fixes: 194858181
Test: clean build, then `adb shell pm list packages | grep egg`
Change-Id: Ia45a8c28c76b52f8350500c60fb7b85706b82d63
2021-07-27 23:57:51 -04:00
Benedict Wong
9eee7d3f29 Merge "Set TRANSPORT_PRIMARY for VCN NetworkOffers and NetworkAgents" into sc-dev 2021-07-28 03:37:47 +00:00
Arthur Hung
4ee67cf14e Merge "Keeps power key intercepted during a panic gesture" into sc-dev 2021-07-28 02:26:51 +00:00
Sungsoo Lim
75fa0482a6 Merge "Revert "[Media ML] Replace AudioSystem.isActiveStream"" into sc-dev 2021-07-28 01:59:19 +00:00
Hai Zhang
af04dd2ad5 Merge "Only construct real Throwable objects in AndroidFuture.readThrowable()." into sc-dev 2021-07-28 01:23:12 +00:00
Sungsoo Lim
f408df6338 Merge "Do not pass the volume key event to remote sessions" into sc-dev 2021-07-27 23:09:56 +00:00
Guojing Yuan
dfa9b3058f Merge "Add permission check while creating CompanionDeviceService" into sc-dev 2021-07-27 23:07:23 +00:00
TreeHugger Robot
b68c209b8a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-27 22:56:15 +00:00
TreeHugger Robot
c8db043d4b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 4616377708 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15403213

Change-Id: I2aff51f7af826a19ffac9703efa5c74eceab0f34
2021-07-27 22:41:41 +00:00
TreeHugger Robot
8e18eeb56e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-27 22:33:35 +00:00
TreeHugger Robot
4616377708 Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-07-27 22:07:56 +00:00
TreeHugger Robot
94081b3687 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-27 22:07:45 +00:00
Dave Mankoff
00f16a796a Merge "Don't use Primary sensor when Secondary available." into sc-dev 2021-07-27 21:59:41 +00:00
Jay Aliomer
959dd9c06a WallpaperService crashes becuase of a log statement
Log.wtf should have been Log.e and it is only an informative log

Fixes: 192327606
Test: WallpaperServiceTest
Change-Id: I2e13cf6f7f7abffbb8d3f28aeaa0605711085157
2021-07-27 21:06:03 +00:00
Joe Bolinger
3e22b1d62a Prevent fingerprint icon from showing when unlocking while fingerprint is in lockout.
Fix: 194017474
Test: manual (lockout fingerprint and unlock with PIN)
Change-Id: If25cc655687b215f6ad68acf67f1dc60e6715785
2021-07-27 13:52:11 -07:00
Kweku Adams
ab3f902ccf Merge "Address sorting edge case." into sc-dev 2021-07-27 20:42:44 +00:00
TreeHugger Robot
06a68d9a72 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 6dba3bc1e6 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15401890

Change-Id: If674d27f812938235630edcfafa29e6a4e0690aa
2021-07-27 19:43:12 +00:00
Bill Yi
bad6f056f3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 468621bab9 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15401898

Change-Id: I9f2ac853fe80e8f74d900514618570333928aa33
2021-07-27 19:42:39 +00:00
Bo Liu
047d3ba17a Merge "ADPF: Handle preferred interval on unsupported device" into sc-dev 2021-07-27 19:35:08 +00:00
Beverly
1d2f630933 Only set userHasDeviceEntryIntent on keyguard
So we don't bypass after enrollment (or bp). We only
care about this on the keyguard.

Test: manual, atest UdfpsControllerTest
Fixes: 194641124
Change-Id: I9b7338cb8a4f7033a59e23d498bfe9cc51e53f0b
2021-07-27 19:33:19 +00:00
TreeHugger Robot
27e6215f16 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-27 19:27:45 +00:00
Jeff Sharkey
a57ee36d6c Merge "Pass metadata as AttributionSourceSource." into sc-dev 2021-07-27 19:20:50 +00:00
TreeHugger Robot
6dba3bc1e6 Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-07-27 19:16:06 +00:00
Lyn Han
ea1871c7d2 Merge "Cancel existing QsClippingAnimation when creating new one" into sc-dev 2021-07-27 19:01:35 +00:00
Lyn Han
a39aece07c Cancel existing QsClippingAnimation when creating new one
Bug: 191436459

[Manual tests for regressions]
Test: open shade from lockscreen, open fullscreen qs
Test: open unlocked shade, open fullscreen qs
Test: directly open fullscreen qs from top of lockscreen
Test: directly open fullscreen qs via two-finger swipe while unlocked

Change-Id: Ibb8f3e35e5fc14e4e029e98fa3dd83a20b470ebf
2021-07-27 19:01:16 +00:00
Adam He
e31184cb46 Merge "Fix inline autofill not working if both afservice and keyboard support it, but keyboard disabled inline support manually." into sc-dev 2021-07-27 18:31:08 +00:00
Bill Yi
85c8df6bf9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I53f1345eee578aee53536935c759af58b9924bc6
2021-07-27 18:28:08 +00:00
Bill Yi
29ff9defe0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5e07c72246b00208e9daef508e58dc929403efff
2021-07-27 18:18:19 +00:00
Bill Yi
feab22ca84 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie27c6371ba21af35f9378117ffd2b460db98e0bf
2021-07-27 18:13:20 +00:00
Bill Yi
468621bab9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7c75dccc4cf4010af62122df50c64949b2a479e6
2021-07-27 18:01:59 +00:00
Bill Yi
f000f72002 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iad4a569990f7e86a0d9b9e49281fc03aab91d430
2021-07-27 17:40:58 +00:00
Kweku Adams
0687577f87 Address sorting edge case.
There are times when the enqueue time of two different jobs are exactly
the same. In those cases, if an EJ skipped over one regular job with an
enqueue time X, then it should skip all other regular jobs with enqueue
time X.

Bug: 194324016
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Test: atest CtsJobSchedulerTestCases
Change-Id: I77e106676238dd3ae198fab619af430e48d433a2
2021-07-27 10:38:28 -07:00
Ameer Armaly
709848cfde TouchExplorerTest: fix run error.
This line should've been removed long ago because we don't even use the object it declares, but it only recently started to throw an exception. Bug: 194359067
This was fixed in master, but not S.
Test: atest FrameworksServicesTests:TouchExplorerTest

Change-Id: I388edfc5689584b8def7ef421a0bd9be89b71d5b
(cherry picked from commit 2ce8b0c808167dab32fb86a0eed20240f81e3d10)
2021-07-27 17:35:50 +00:00
Ming-Shin Lu
14f2c733b1 Fix ANR when switching the app task but IME selection dialog focused
As CL [1] that we don't give the IME child window focus when switching
to the next app task, we also need to handle IME selection dialog
focus and dismiss the IME selection dialog when the IME control target
will be changed in later.

To prevent the flickering when focusing to the next app task and see the
IME selection dialg dismising during switching the IME client, add
"imeParentChanged" parameter in
InputMethodManagerInternal#reportImeControl to ensure IME selection
dialog can be dissmissed before the IME control actually changed.

[1]: I72618745542f33bcbb1001bd3b812e79f7652dda

Fix: 194214768
Test: manual as issue steps:
    1. Launch an app to show soft-keyboard
    2. Tap IME icon from navBar to show "Select input method" dialog
    3. Start settings or other apps from SystemUI StatusBar
    4. Press back key wait for a monment, make sure ANR won't happen
Test: atest DisplayContentTests#\
        testImeMenuDialogFocusWhenImeLayeringTargetChanges

Merged-In: Iae3dd713b1e980067d28debea4e0a03707aa7938
Change-Id: Iae3dd713b1e980067d28debea4e0a03707aa7938
2021-07-27 17:07:31 +00:00
Julia Reynolds
92145ddf77 Merge "Add NMS broadcasts to protected list" into sc-dev 2021-07-27 16:16:53 +00:00
Jason Chang
3ebd024a80 Merge "Fix tutorial background color not up-to-date occasionally" into sc-dev 2021-07-27 16:00:30 +00:00