Commit Graph

657261 Commits

Author SHA1 Message Date
Winson Chung
9b53d2ecab Fix issue with alphas not being applied to the same view on unlock
- It's possible for the nav bar configuration to change between locking
  and unlocking the phone, which will prevent the alpha from being
  restored on the bar layout correctly. This change updates the alpha
  of both vertical/horizontal layouts in NavBarView since they should
  always be in sync.

Bug: 206733387
Test: atest SystemUITests
Test: Lock screen in landscape app, turn screen on and unlock


Change-Id: I265d04e6e2192f2bb57b1f8d77390664236427fc
2021-11-24 05:32:16 +00:00
Zoey Chen
a93b661b8c Merge "[Provider Model] 1. Add the vertical separation in front of the mobile toggle 2. Increase the margin of the done btn" into sc-v2-dev 2021-11-23 03:34:55 +00:00
Chris Li
552551dd3d Merge "Remove TaskFragmentAppearedInfo" into sc-v2-dev 2021-11-23 03:09:49 +00:00
Felipe Leme
7df16f2d42 Merge "Added AM APIs to get switch from / to user messages." into sc-v2-dev 2021-11-23 00:25:49 +00:00
Bill Lin
17b9e72d9b Merge "Fix logic error in WMShellBaseModule.java break OHM function" into sc-v2-dev 2021-11-23 00:18:57 +00:00
Mariia Sandrikova
92d14a2afd Merge "Turn off rounded corners for letterbox by default." into sc-v2-dev 2021-11-22 23:59:20 +00:00
TreeHugger Robot
1c78585c28 Merge "[Status Bar Refactor] Inject NotificationPanelViewController into CollapsedStatusBarFragment." into sc-v2-dev 2021-11-22 22:14:04 +00:00
Felipe Leme
4ce8bf537d Added AM APIs to get switch from / to user messages.
Test: adb shell dumpsys activity users|grep mSwitching
Fixes: 206873264

Change-Id: I1e5e3ab26c31bad8190037f22d4fbad2947d9d22
2021-11-22 22:11:22 +00:00
Tony Wickham
f74f259b83 Merge "Pipe dark intensity through OverviewProxy" into sc-v2-dev 2021-11-22 22:05:35 +00:00
Mariia Sandrikova
9f2524be00 Turn off rounded corners for letterbox by default.
Needed because rounded corners can lead to client composition with significant negative impact on performance.

Fix: 205812157
Test: manual
Change-Id: Idcfaf15fb667a0de0fb2e7942747cc472a0d429e
2021-11-22 21:30:57 +00:00
Oliver Woodman
28dfba4028 [automerger skipped] Merge "Fix SysUI volume controls not appearing" into sc-dev am: adc5f9571f am: 66ad53f958 -s ours
am skip reason: Merged-In Ic44b48bb5605699b476af05407b90f2be5d70cd3 with SHA-1 8907455ed7 is already in history

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

Change-Id: I3ab1c564796fdd8c523bed60402410c56439a956
2021-11-22 21:09:45 +00:00
Oliver Woodman
fff4f3ef32 [automerger skipped] Merge changes from topic "cherrypick-grouped-volume-tweak-xnvceg1hww" into sc-dev am: e65fa2ba18 am: 3a9f146f3b -s ours
am skip reason: Merged-In I71d7f11b9d88dfb9ef74814e9ac7f9d28b0e652c with SHA-1 0657b28b24 is already in history

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

Change-Id: If323668ffa83690c5558e1b8a48aaa175866b445
2021-11-22 21:09:43 +00:00
Oliver Woodman
e4abc3a97a [automerger skipped] Re-enable volume control for non-grouped devices am: b7f52f4468 am: 5f9c21209d -s ours
am skip reason: Merged-In I7740d78f3a7dca62d64e6cf7b8c9ffa1578c8e74 with SHA-1 f68e7fb489 is already in history

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

Change-Id: I432159523320fc31b8926114a1b07d76a9895d9a
2021-11-22 21:09:41 +00:00
Oliver Woodman
1c6275b133 [automerger skipped] Tweak volume adjustment rules am: 022081595b am: 904dd271b9 -s ours
am skip reason: Merged-In If531a23f5e7b242d3d637966b74b67acfd303199 with SHA-1 aa9dc925f8 is already in history

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

Change-Id: I345f1d230b15b5a656af33c461380e09b86422b1
2021-11-22 21:09:38 +00:00
Oliver Woodman
66ad53f958 Merge "Fix SysUI volume controls not appearing" into sc-dev am: adc5f9571f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16286398

Change-Id: I4d0e2424f8d41ebb34bd942ed46140bbb47e6c3b
2021-11-22 20:53:19 +00:00
Oliver Woodman
3a9f146f3b Merge changes from topic "cherrypick-grouped-volume-tweak-xnvceg1hww" into sc-dev am: e65fa2ba18
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16233501

Change-Id: I5564bb02f360342c0f8338f31069fa70e503c342
2021-11-22 20:53:16 +00:00
Oliver Woodman
5f9c21209d Re-enable volume control for non-grouped devices am: b7f52f4468
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16214442

Change-Id: Ie40fe5967a1c2745e0fb7f7a21fb9c61effc9c56
2021-11-22 20:53:14 +00:00
Oliver Woodman
904dd271b9 Tweak volume adjustment rules am: 022081595b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16220980

Change-Id: Idfb22f293efc840e856615f6f065a535d0e5fcaf
2021-11-22 20:53:12 +00:00
Oliver Woodman
adc5f9571f Merge "Fix SysUI volume controls not appearing" into sc-dev 2021-11-22 20:33:14 +00:00
Oliver Woodman
e65fa2ba18 Merge changes from topic "cherrypick-grouped-volume-tweak-xnvceg1hww" into sc-dev
* changes:
  Plumb config to output switcher indication chip
  Re-enable volume control for non-grouped devices
  Tweak volume adjustment rules
2021-11-22 20:33:14 +00:00
Fabian Kozynski
8a05667f8c Merge "[DO NOT MERGE] Add animation for Dnd dialog" into sc-v2-dev 2021-11-22 19:53:07 +00:00
Tony Wickham
a20b9203ac Pipe dark intensity through OverviewProxy
Test: in 3 button mode, nav buttons in taskbar are dark on light wallpaper; in both 3 button and fully gestural, IME dismiss button is dark on light IME
Bug: 204256643
Change-Id: Ib6488a393e9cf021c806a5caf5b81654cf5164eb
2021-11-22 09:38:43 -08:00
Winson Chung
27cef855be Merge "Prevent recomputeDisableFlags from clobbering the system disable flags" into sc-v2-dev 2021-11-22 17:27:31 +00:00
Winson Chung
7567f970d6 Prevent recomputeDisableFlags from clobbering the system disable flags
- The disable() call on the binder thread can race with this call on
  the main thread due to this 1) fetching the old values on the main
  thread, then 2) trying to synchronize on mLock by calling disable()
  (which the binder thread is currently holding) and then 3) applying
  the previous flags immediately after the fresh disable flags are set
  by the binder call.

Bug: 205921118
Test: atest SystemUITests
Change-Id: I5dd4d2d248b6c1ab6d1677e2bb915100cd3e4f4e
2021-11-22 17:27:22 +00:00
Beverly Tai
dd9f25b195 Merge "Show bouncer after failed UDFPS attempts" into sc-v2-dev 2021-11-22 17:17:30 +00:00
Caitlin Cassidy
e2cd42240a [Status Bar Refactor] Inject NotificationPanelViewController into
CollapsedStatusBarFragment.

Because NotificationPanelViewController is not @Singleton but
@StatusBarScope, we need to update the fragment creation classes to
know how to get references to @StatusBarScope classes and that's the
bulk of this CL.

Bug: 205609837
Bug: 204792508
Test: atest FragmentServiceTest
Test: atest SystemUITests
Test: manual
Change-Id: I84ef8c7621944d6924775c1fe54178af296a3485
Merged-In: I84ef8c7621944d6924775c1fe54178af296a3485
2021-11-22 16:35:51 +00:00
Fabian Kozynski
9ac796de8d [DO NOT MERGE] Add animation for Dnd dialog
Also, use SystemUI dialog theme.

Test: manual
Test: atest DndTileTest
Fixes: 206454318
Fixes: 206730944
Change-Id: I599935e28ab6d6f6ad1fa497f4eeea652b74dad6
2021-11-22 09:40:08 -05:00
Bill Lin
243337fcfe Fix logic error in WMShellBaseModule.java break OHM function
There was a logic error in WMShellBaseModule.java while implement
@DynamicOverride for WM-Shell features

Test: atest WMShellUnitTests
Test: manual enable OHM and trigger
Bug: 206901301
Change-Id: I52732b962a0e6265b22bf9979c3ef7f4f61046c6
2021-11-22 09:51:05 +00:00
Zoey Chen
706c29620b [Provider Model] 1. Add the vertical separation in front of the mobile toggle 2. Increase the margin of the done btn
Bug: 204943893
Bug: 204680391
Tes: manual
Change-Id: Ic68abc8ba860ad8447e17fc1593a73cea21ea000
2021-11-22 08:22:17 +00:00
Chris Li
5b9b66e85d Merge "Fix security bug for TaskFragment creation" into sc-v2-dev 2021-11-22 06:46:06 +00:00
Charles Chen
83d6490629 Merge "[RESTRICT AUTOMERGE] Associate SystemUiContext with DisplayContent" into sc-v2-dev 2021-11-22 06:29:28 +00:00
Jeff DeCew
eaaeb2f6a7 Merge "Fix snooze guts disappearing in split shade" into sc-v2-dev 2021-11-22 02:23:29 +00:00
Vinit Nayak
325d89dd12 Merge "Extract assistant logic from NavigationBar to share with Taskbar" into sc-v2-dev 2021-11-21 02:10:49 +00:00
Tom Natan
6e88bd05a8 Merge "Change the restart button to use material colors" into sc-v2-dev 2021-11-20 20:16:35 +00:00
Lucas Dupin
26409be79e Merge "Fix incorrect QS paddings after relayout" into sc-v2-dev 2021-11-19 23:05:02 +00:00
Vinit Nayak
33a7ce8427 Extract assistant logic from NavigationBar to share with Taskbar
* Added logic into already existing class used
for A11y, renamed that to NavbarHelper
* Prevent destory() in TaskbarDelegate from being called
without init() call first

Bug: 204273914
Test: Assistant is invokable on launcher unfolded
in gesture nav

Change-Id: Ic3232f375c68fd444c7378bc8ddd5a9b6991bd69
2021-11-19 13:58:08 -08:00
Winson Chung
cc4a85c0a9 Merge "Invalidate recent tasks when the splits (or split info) changes" into sc-v2-dev 2021-11-19 21:25:33 +00:00
Beverly
98902d6319 Show bouncer after failed UDFPS attempts
* Show the bouncer after 3 consecutive UDFPS failures
* Show the bouncer if the shade is expanded and UDFPS is in lockout
due to too many attempts
* Make sure to show the lockout reason bouncer prompt if there
have been too many attempts

Test: atest BiometricsUnlockControllerTest UdfpsKeyguardViewControllerTest StatusBarKeyguardViewManagerTest
Test: manual
Bug: 206996872
Change-Id: I9992acd121de5b422801228777e833043764379a
2021-11-19 21:10:32 +00:00
TreeHugger Robot
50ad58a1b9 Merge "Keystore 2.0 SPI: Fix NullPointerException in setKeyEntry." into sc-v2-dev 2021-11-19 20:34:45 +00:00
Alex Chau
1f72543ac4 Merge "Use only current density to check isTablet" into sc-v2-dev 2021-11-19 20:24:57 +00:00
Lucas Dupin
3ad372fc12 Fix incorrect QS paddings after relayout
Margin and padding calculation should actually be part of the layout
pass, such as it cannot be out of sync.

Test: pull down QS with Media on LS, split shade, launcher
Test: atest QSSquishinessControllerTest
Fixes: 204517562
Change-Id: I0001502f7c3368060e7b8fc93c753b05a8386aa6
2021-11-19 12:17:18 -08:00
Janis Danisevskis
486adb9aa8 Test for contract between AndroidKeyStoreKey hash and equals.
Test: atest KeystoreTests
Bug: 196118021

Merged-In: Ic6e60752faa986debe3d325f54242cffaa03b336
Change-Id: Ic6e60752faa986debe3d325f54242cffaa03b336
2021-11-19 18:29:02 +00:00
Janis Danisevskis
3a37085ede Keystore 2.0 SPI: Fix contract between equals and hashCode
This fixes the contract between equals and hashCode in
AndroidKeystoreKey and AndroidKeystorePublicKey.

Bug: 196118021
Test: See next CL.
Merged-In: I3f7e6d72d53c7051c13daeb5aa6ce1abf4eb0cc5
Change-Id: I3f7e6d72d53c7051c13daeb5aa6ce1abf4eb0cc5
2021-11-19 18:27:02 +00:00
tomnatan
d9f722d0d4 Change the restart button to use material colors
In addition, add a ripple effect to the button.

Fix: 198347324
Test: N/A
Change-Id: Ibd33f32cf4908ae9d3d02d8043e625e24123aff7
2021-11-19 16:57:49 +00:00
Jeff DeCew
89a0b88187 Fix snooze guts disappearing in split shade
In split shade the NSSL is no longer full screen, so the assumption that getX was the absolute X coordinate of the touch was wrong; as a result the NSSL dismissed the guts because it thought the touch was somewhere in the NSSL but not in the guts view (or any other view).

Fixes: 204283146
Test: manual
Change-Id: I634d378e162e20ed277b164a506d7dace56c8525
2021-11-19 11:21:43 -05:00
Beth Thibodeau
ed5ced3fdd Merge "Sort remote cast notifications to the end" into sc-v2-dev 2021-11-19 16:07:25 +00:00
Alex Chau
48ac598601 Use only current density to check isTablet
Fix: 203817448
Test: manual
Change-Id: Icc339dd7a87284af31abe70fff9ede2868f5add9
2021-11-19 15:30:03 +00:00
Wu Ahan
69cd4caaa8 Merge "Fix NPE while running UserSwitcherController" into sc-v2-dev 2021-11-19 10:08:13 +00:00
TreeHugger Robot
34a0dd0d91 Merge "Javadoc changes for additional DPC-settable extras" into sc-v2-dev 2021-11-19 09:38:28 +00:00
Arc Wang
5fc0e28f2e Merge "Add LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK permission to Shell" into sc-v2-dev 2021-11-19 09:37:58 +00:00