Commit Graph

657286 Commits

Author SHA1 Message Date
wilsonshih
205cd6486c Clear all starting window while unregister organizer.
The starting window view might left in client's ShellTaskOrganizer,
clear all of the starting windows view while unregister task organizer
to preventing those views from left.
Consolidating the remove window methods together.

Bug: 207175662
Test: build/flash
Test: atest StartingSurfaceDrawerTests SplashscreenTests
Change-Id: I93e4862b7f866c7c73d9b3999a74e03784848058
Merged-In: I93e4862b7f866c7c73d9b3999a74e03784848058
2021-11-30 03:43:55 +00:00
Louis Chang
ab529ab901 Merge "RESTRICT AUTOMERGE - Allow ResolverActivity to relinquish task identity" into sc-v2-dev 2021-11-24 01:33:02 +00:00
Louis Chang
fcfd7e1a79 Merge "Checking Settings config for quick pick-up gesture" into sc-v2-dev 2021-11-24 01:31:47 +00:00
Wei Sheng Shih
26fffc68d9 Merge "Fade out branding image with icon while exit splash screen." into sc-v2-dev 2021-11-24 01:15:45 +00:00
TreeHugger Robot
d0d3b02874 Merge "Camera: Try to recover from failing stopRepeating requests" into sc-v2-dev 2021-11-24 00:40:57 +00:00
Vinit Nayak
f730a2c592 Merge "Revert "Extract assistant logic from NavigationBar to share with Taskbar"" into sc-v2-dev 2021-11-23 23:06:20 +00:00
Vishnu Nair
d57f990567 Merge "WM: Use task bounds for modal window touchable region" into sc-v2-dev 2021-11-23 22:27:10 +00:00
Beverly Tai
c546f6e01a Merge "Use SystemUI config to easily adjust udfps haptics" into sc-v2-dev 2021-11-23 21:33:08 +00:00
Vinit Nayak
2511ebcc40 Revert "Extract assistant logic from NavigationBar to share with Taskbar"
This reverts commit 33a7ce8427.

Reason for revert: test failure, b/207427578

Change-Id: I211a344659036248388e587c7cdf5082b8bdbf9d
2021-11-23 10:56:24 -08:00
Beverly
48df8c9b68 Use SystemUI config to easily adjust udfps haptics
take #1b

In the config file, it's easy to adjust (per device):
 * Using low_tick (default) vs tick
 * Customize tick intensity
 * Customize delay between ticks

Test: manual
Bug: 202867177
Bug: 207123411
Change-Id: I57dedc6480b83b7ea03fcff30e551cd900fead92
2021-11-23 18:22:51 +00:00
TreeHugger Robot
35185d54b4 Merge "Wakeup the screen for full screen intents" into sc-v2-dev 2021-11-23 17:33:13 +00:00
Fabian Kozynski
f322436d6a Merge "Fix privacy dialog padding" into sc-v2-dev 2021-11-23 16:49:03 +00:00
Fabian Kozynski
5150828ce3 Merge changes If6a02209,Ied39acb0 into sc-v2-dev
* changes:
  Apply dialog style to User switcher dialog.
  Create style for AlertDialog in SystemUI
2021-11-23 16:46:15 +00:00
Beverly
e1a74223bb Wakeup the screen for full screen intents
Apps shouldn't need to have the FLAG_TURN_SCREEN_ON
layout parameter on their full screen intent activity
in order for the full screen intent to show from AOD.

Test: atest StatusBarNotificationActivityStarterTest
Test: manual
Fixes: 202833729
Change-Id: If4a5d3dbd49367ddd7dc2895b83471d52fcfa47a
Merged-In: If4a5d3dbd49367ddd7dc2895b83471d52fcfa47a
2021-11-23 16:29:57 +00:00
Jonathan Miranda
1b3f782d94 Merge "Annotate TaskKey#baseIntent as @NonNull to match platform" into sc-v2-dev 2021-11-23 16:29:10 +00:00
Beth Thibodeau
64186143f6 Merge "Remeasure entire carousel view when players change" into sc-v2-dev 2021-11-23 16:24:22 +00:00
Fabian Kozynski
a910be6dee Apply dialog style to User switcher dialog.
Apply the unified style and set just the inner content, relying on the
default title and buttons.

Also, fix using the vertical spacing in PseudoGridView.

Test: manual
Test: atest UserSwitchDialogControllerTest
Bug: 203666386
Change-Id: If6a0220979d9f9df584c29f4adce317341577cf4
Merged-In: If6a0220979d9f9df584c29f4adce317341577cf4
2021-11-23 09:20:03 -05:00
Fabian Kozynski
1a848af46f Create style for AlertDialog in SystemUI
This creates the style up to the design spec and customizes the
following:
* Dialog icon on top of title
* Font sizes and colors
* Buttons
* Padding

Using R.style.Theme_SystemUI_Dialog for an AlertDialog (or preferably a
SystemUIDialog) will make sure that the correct style is applied.

Test: manual, using a test dialog
Fixes: 203666386
Change-Id: Ied39acb05295dea1e1e353ef504d013900a97266
Merged-In: Ied39acb05295dea1e1e353ef504d013900a97266
2021-11-23 09:19:35 -05:00
Louis Chang
4267ff2f20 Checking Settings config for quick pick-up gesture
...in order to turn it off while running tests

Bug: 204145453
Test: atest ActivityVisibilityTests
Change-Id: I8dcba88f6d0dc3370cb189034ca4bc2935103233
2021-11-23 14:43:40 +08:00
wilsonshih
9af01bb336 Fade out branding image with icon while exit splash screen.
Fade out the branding image with icon if exists.

Test: atest SplashscreenTests
Test: manual launch test app to see branding image is fadeout.
Bug: 207298633
Change-Id: I629ee8548198fe33671586048a999049b958b0e2
2021-11-23 03:43:49 +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