Commit Graph

656911 Commits

Author SHA1 Message Date
Caitlin Cassidy
fe4103f50d Merge "[Status Bar Refactor] Define a new dagger component that gets re-created each time CollapsedStatusBarFragment is re-created." into sc-v2-dev 2021-11-16 17:57:42 +00:00
Winson Chung
91a8c3068b Merge "Skip adding shell drop target window for virtual displays" into sc-v2-dev 2021-11-16 17:44:05 +00:00
Winson Chung
8c7ef9ef5c Skip adding shell drop target window for virtual displays
- Having content on the virtual display can prevent mirroring from
  working correctly

Fixes: 205080647
Test: atest WMShellUnitTests
Change-Id: Id13d8e9020edf5f78c10148f48bd64cec92b7994
2021-11-16 17:43:55 +00:00
Matt Casey
525dec66cc Merge "Remove the unused assistant orb UI." into sc-v2-dev 2021-11-16 16:17:16 +00:00
Jamie Garside
1351c6f6d6 Merge "Fix bugs with QS customizer when split shade is active." into sc-v2-dev 2021-11-16 16:12:38 +00:00
Fabian Kozynski
635a90d46a Merge "Show chevron on DndTile if it'd show dialog" into sc-v2-dev 2021-11-16 15:46:00 +00:00
Tom Natan
7ff3fe9ca5 Merge "Skip unknown change IDs when adding/removing overrides on release builds" into sc-v2-dev 2021-11-16 15:41:56 +00:00
tomnatan
98f17c1f70 Skip unknown change IDs when adding/removing overrides on release builds
Otherwise an exception is thrown because CompatConfig#isOverridable
returns false for an unknown change ID.

Fix: 205297182
Test: atest FrameworksServicesTests:CompatConfigTest
Test: atest FrameworksServicesTests:PlatformCompatTest
Change-Id: Id45ddd3226555d1169d9814517d2da336c1c7b1a
2021-11-16 13:24:44 +00:00
SongFerng Wang
7d75b59495 Merge "NullPointerException for Internet quick panel(slice) in Settings" into sc-v2-dev 2021-11-16 10:22:19 +00:00
Les Lee
682db90042 Merge "Merge "Fix normalize doesn't work on carrier template" into sc-qpr1-dev am: ae28e40017" into sc-v2-dev 2021-11-16 00:45:38 +00:00
Mady Mellor
509a29f8a0 Merge "Fix a security issue" into sc-v2-dev 2021-11-16 00:40:07 +00:00
Mady Mellor
05a043c911 Fix a security issue
This broadcast was only for a prototype so no harm to
remove the receiver.

Test: treehugger
Bug: 202756848
Bug: 173386799
Change-Id: Ia496570f4209e4019ecddd9731b6b9c303740f85
2021-11-15 14:34:12 -08:00
Soonil Nagarkar
eca0b750e7 Don't hold wakelocks for passive requests
Prevents power usage for passive requests and reduces wakelock
thrashing.

Bug: 206340085
Test: presubmits
Change-Id: I258ba16ace2a2a3fa248665bc936e6b855471762
2021-11-15 22:04:47 +00:00
Ilya Matyukhin
cb4a25f6df Merge "Fix UDFPS not working when a HUN is showing" into sc-v2-dev 2021-11-15 21:25:11 +00:00
Beverly Tai
83334b67a2 Merge "Show scrimmed bouncer from BiometricUnlockCtrl" into sc-v2-dev 2021-11-15 21:18:21 +00:00
Fabian Kozynski
a04e56ce74 Show chevron on DndTile if it'd show dialog
Also, have SecureSetting return cached value while it's listening.

Test: manual
Test: atest SystemUITests
Fixes: 206255187
Change-Id: I28f2621a952b31dddc683ebb789c1702797dcf78
2021-11-15 16:04:40 -05:00
Mariia Sandrikova
c0f602a20b Merge "Set letterbox background color to system_neutral2_900." into sc-v2-dev 2021-11-15 20:36:10 +00:00
Beverly
7c64f2cd03 Show scrimmed bouncer from BiometricUnlockCtrl
Test: manual
Test: atest BiometrisUnlockControllerTest
Fixes: 206423147
Bug: 205556311
Change-Id: Ib3def01e7ffd04ac950f06cbee7d213927110b5b
2021-11-15 13:53:02 -05:00
Dave Mankoff
3f5835d848 Merge "Fix flag manager crash" into sc-v2-dev 2021-11-15 18:32:10 +00:00
Ilya Matyukhin
1267a8ffa5 Fix UDFPS not working when a HUN is showing
We didn't want the UDFPS overlay to handle touches when a user pulls
down the notification shade. We accomplished it by ignoring UDFPS
touches if the notification shade is expanded.

However, that had an undesired side effect. Apparently, the notification
shade is considered expanded when a heads-up notification (HUN) is
showing. Which means if a user receives a HUN during authentication,
their touch will be ignored.

This CL fixes the undesired behavior by also checking the expansion
ratio. It appears that when a HUN is showing, the notification shade
reports itself as expanded with the 0.0f expansion ratio.

Bug: 203213357
Test: authenticate in BiometricPrompt with a HUN showing
Change-Id: I597393b8f8bafda3b28e54237a44ba7517681869
2021-11-15 18:26:36 +00:00
TreeHugger Robot
ba64f849cf Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 17:08:36 +00:00
TreeHugger Robot
985ac93b3a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 17:08:28 +00:00
TreeHugger Robot
07769a1ca2 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 17:08:18 +00:00
TreeHugger Robot
2f835c2b8f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 17:08:15 +00:00
TreeHugger Robot
ee800b0bfa Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 17:08:08 +00:00
TreeHugger Robot
45389deea5 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 17:08:05 +00:00
TreeHugger Robot
01ca6be0d3 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 17:02:05 +00:00
TreeHugger Robot
1df407119e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-11-15 16:59:18 +00:00
Jeff DeCew
270657d95b Merge "Add more state to dump to debug missing work profile notifs." into sc-v2-dev 2021-11-15 16:07:44 +00:00
Lucas Dupin
6b0d48b8ff Merge "[Output switcher] Fix truncate in landscape mode" into sc-v2-dev 2021-11-15 15:53:17 +00:00
Tom Natan
2ab0199786 Merge "Fix issue where onKeyguardOccludedChanged isn't called when occluded changes" into sc-v2-dev 2021-11-15 15:45:07 +00:00
SongFerngWang
8ee29b7316 NullPointerException for Internet quick panel(slice) in Settings
Add the networkToIconLookup icon mapping for NETWORK_TYPE_GPRS.

Bug: 203672925
Test: build pass
Change-Id: I6de4e624ef762605c78a42c20b77e02153ac4953
2021-11-15 20:34:00 +08:00
TreeHugger Robot
2a3027fd86 Merge "Add a regression test to verify no IME flickering when navigating back" into sc-v2-dev 2021-11-15 12:28:02 +00:00
Mariia Sandrikova
809f1182f2 Set letterbox background color to system_neutral2_900.
Bug: 197551306
Test: manual
Change-Id: Ia4345affb402545521c2627a8b8e4c0e11f95800
2021-11-15 12:15:44 +00:00
Jamie Garside
eb7a55cc47 Fix bugs with QS customizer when split shade is active.
* When the QS customizer is active, closing the split shade does not
close the customizer.
* When three-button nav is enabled, pressing back when the QS customizer
is active on the split shade will close the shade, not close the
customizer.

This CL instead adds functions to QS.java so we can check whether the
customizer is active (and close it), so we can handle these cases
appropriately.

Test: Manually verified.
Bug: 201388768
Change-Id: I94208d1cd966975f39328529b9d866fbf27927ac
2021-11-15 11:09:17 +00:00
Jordan Demeulenaere
b62fb90d71 Merge "Remove status bar visibility check in lock screen" into sc-v2-dev 2021-11-15 10:36:55 +00:00
Jordan Demeulenaere
aa67cba3d9 Merge "Set Shade opaqueness on devices that don't support blurs" into sc-v2-dev 2021-11-15 10:36:55 +00:00
Caitlin Cassidy
4034e6c734 [Status Bar Refactor] Define a new dagger component that gets re-created
each time CollapsedStatusBarFragment is re-created.

Bug: 205609837
Test: manual
Test: atest SystemUITests
Change-Id: I3a6f9cfeae644e41836fbaa53495fe31a71b0a7e
Merged-In: I3a6f9cfeae644e41836fbaa53495fe31a71b0a7e
2021-11-13 19:56:55 +00:00
TreeHugger Robot
b5827095ca Merge "Send the network logging enabled notification to the current user." into sc-v2-dev 2021-11-13 16:34:10 +00:00
Wu Ahan
60316d327f Merge "Add null check before notifying CUJ events" into sc-v2-dev 2021-11-13 04:34:46 +00:00
TreeHugger Robot
b3137b3b86 Merge "New hidden DPM methods: getLogoutUserId() and clearLogoutUser()." into sc-v2-dev 2021-11-13 01:22:24 +00:00
Hongwei Wang
8923d44570 Merge "Update PiP dismiss target on theme change" into sc-v2-dev 2021-11-13 00:48:37 +00:00
TreeHugger Robot
23039de620 Merge "Add feature flag for Android automotive OS templates host" into sc-v2-dev 2021-11-13 00:09:56 +00:00
TreeHugger Robot
b8899dac7b Merge "Fix isVisibleOrAdding and update name/docs" into sc-v2-dev 2021-11-12 22:57:48 +00:00
Lucas Dupin
f485c6acf6 Merge "Remove unused resources" into sc-v2-dev 2021-11-12 22:23:30 +00:00
TreeHugger Robot
e089bd6d2e Merge "Don't show 'try fingerprint' msg on face auth help" into sc-v2-dev 2021-11-12 21:36:18 +00:00
TreeHugger Robot
c8f32a43b0 Merge "Prevent ClassCastException" into sc-v2-dev 2021-11-12 21:09:26 +00:00
Winson Chung
b5c5258a65 Merge "Fix issue with provided options not being applied when launching split tasks" into sc-v2-dev 2021-11-12 20:51:15 +00:00
Felipe Leme
3106ae05e2 Send the network logging enabled notification to the current user.
It was sending it to the system user, which wouldn't work on systems
with headless system user.

Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: manual verification with TestDpc and CtsVerifier on phone and automotive
Test: adb shell dumpsys device_policy | grep mNetworkLoggingNotificationUserId

Bug: 205190291

Change-Id: I0c060a9d9f1c41f63f9bcebd3c1848963ff12764
2021-11-12 12:11:05 -08:00
Lucas Dupin
e4bb3b1235 Remove unused resources
After deleting these files - mostly automated by Android Studio -
our final apk size went from 43MB to 37MB.

Test: make
Test: manual
Test: presubmit/integration tests
Fixes: 204361342
Change-Id: I7f76ca4249431fb226972ed48cc1a4a10328a556
Merged-In: I7f76ca4249431fb226972ed48cc1a4a10328a556
2021-11-12 20:07:01 +00:00