Commit Graph

656759 Commits

Author SHA1 Message Date
Hongwei Wang
abf3d3b948 Update PiP dismiss target on theme change
Re-initiate the DismissCircleView upon theme change to make sure the PiP
dismiss target inherits the right theme color.

Bug: 199359063
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bIMe3fAFoW6Nw47Ye894MZ
Test: manually, see video
Change-Id: Ia65c633fd636114ddbdc2ff497245e2cb73f7745
2021-11-11 16:28:54 -08:00
TreeHugger Robot
bcc3f65352 Merge "Revert^2 "PiP: support direct entering split from PiP."" into sc-v2-dev 2021-11-11 17:55:21 +00:00
Oliver Woodman
ca5da05e30 Merge "Plumb config to output switcher indication chip" into sc-v2-dev 2021-11-11 15:00:02 +00:00
TreeHugger Robot
3abdb0179e Merge "Re-prioritize keyguard visibility animation logic" into sc-v2-dev 2021-11-11 14:29:24 +00:00
TreeHugger Robot
54ea7684bb Merge "Add status bar state logs" into sc-v2-dev 2021-11-11 14:29:21 +00:00
TreeHugger Robot
51f3c67088 Merge "Check whether udfps is supported instead of enrolled" into sc-v2-dev 2021-11-11 14:15:01 +00:00
TreeHugger Robot
60422ba05a Merge "Revert "[RESTRICT AUTOMERGE] Associate SystemUiContext with DisplayContent"" into sc-v2-dev 2021-11-11 14:13:01 +00:00
Tom Natan
bf925d3b2f Merge "Introduce an OVERRIDE_MIN_ASPECT_RATIO_PORTRAIT_ONLY change ID" into sc-v2-dev 2021-11-11 12:48:05 +00:00
TreeHugger Robot
39b2871635 Merge "Don't pass QS expand state to NPVC in split shade mode." into sc-v2-dev 2021-11-11 12:19:47 +00:00
Tom Natan
8eb5761cfd Merge "Fix issue where NOT_VISIBLE state is sometimes not logged" into sc-v2-dev 2021-11-11 10:55:32 +00:00
Alex Chau
930739c45a Revert "[RESTRICT AUTOMERGE] Associate SystemUiContext with DisplayContent"
This reverts commit 71b2172abc.

Reason for revert: See b/205859784, breaks launcher tests
Bug: 205859784
Bug: 194262507
Bug: 191064581

Change-Id: Iaac32bd4142c0539300725dc2f6e4255fefc8b2f
2021-11-11 10:09:10 +00:00
Jason Hsu
d920ef0613 Merge "Fix Accessibility button & gesture settings did not update correctly in Tablet device" into sc-v2-dev 2021-11-11 09:08:21 +00:00
Wei Sheng Shih
08361ad4e7 Merge "Correcting mNightMode which should set from Configuration" into sc-v2-dev 2021-11-11 04:51:50 +00:00
TreeHugger Robot
5908bbe04d Merge "Renamed setStopBackgroundUsersOnSwitch to setStopUserOnSwitch()" into sc-v2-dev 2021-11-11 04:51:15 +00:00
TreeHugger Robot
fd566b803d Merge "Choose opaque activity for fixed rotation with entering pip" into sc-v2-dev 2021-11-11 04:20:09 +00:00
Andrii Kulian
d2fceab0af Merge changes from topic "sticky_placeholders_custom_finishing_behavior" into sc-v2-dev
* changes:
  Add custom finishing behaviors for split pair
  Add support for sticky placeholders
2021-11-11 03:44:38 +00:00
Ryan Lin
f9e1f3b1a1 Merge "Fix magnification border includes taskbar" into sc-v2-dev 2021-11-11 01:56:21 +00:00
Varun Shah
0b0b81f505 Merge "Update deletion conditions for a package's UsageStats." into sc-dev am: 2a14be36ff am: e1a38189da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16222839

Change-Id: I10b4e4a641752585cc23ef4a08f25517aa4be791
2021-11-11 01:37:54 +00:00
Varun Shah
e1a38189da Merge "Update deletion conditions for a package's UsageStats." into sc-dev am: 2a14be36ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16222839

Change-Id: Ic05768dc4213e00f93829ace282fd847dc2e5fed
2021-11-11 01:19:38 +00:00
Varun Shah
2a14be36ff Merge "Update deletion conditions for a package's UsageStats." into sc-dev 2021-11-11 01:03:49 +00:00
Oliver Woodman
0657b28b24 Plumb config to output switcher indication chip
Bug: 197586676
Bug: 202500642
Test: manual
Change-Id: I71d7f11b9d88dfb9ef74814e9ac7f9d28b0e652c
2021-11-11 00:02:44 +00:00
jasonwshsu
4a49a7628f Fix Accessibility button & gesture settings did not update correctly in Tablet device
Root Cause: ACCESSIBILITY_BUTTON_MODE only be updated in navigationbar, did not be updated in new-design taskbar.

Solution: Move updated function up to NavigationBarController, which
controlls NavigationBar and Taskbar.

Bug: 203173063
Test: manual test
Change-Id: Ib18fcd7062bf4e7627f4ffaeefd150c3d1055a47
2021-11-10 23:43:27 +00:00
Hongwei Wang
5b3d8a3aaf Revert^2 "PiP: support direct entering split from PiP."
a6abf3067b

Change-Id: I1deddacd0ef7ba36b55d38d14718d0be90129866
2021-11-10 21:02:08 +00:00
Nader Jawad
2d25d69236 Skip TransformCanvas calls for FunctorDrawables
Fix issue where attempts to render overscroll content
into the alpha 8 mask would crash if there are WebView
related Functors in the scene.

Provide implementations for getTypeName in SkDrawable instances
of FunctorDrawable.

Fixes: 203960959
Test: manual
Change-Id: Idf321d9bfcbe2b8ba1eb205eadcec95e55865305
2021-11-10 20:16:54 +00:00
Sergey Serokurov
b13cde5c9c Merge "Fix bubbles behavior in bedtime mode" into sc-v2-dev 2021-11-10 19:08:36 +00:00
TreeHugger Robot
474a42a2b4 Merge "Keep lightRevealEffect and lightRevealAmount up to date" into sc-v2-dev 2021-11-10 19:01:54 +00:00
Beverly
b4b46a8469 Re-prioritize keyguard visibility animation logic
If the unlock animation should run, we should run it to make
sure that the device's state actually updates to KEYGUARD
when running the unlock animation.

Test: manual
Bug: 205587594
Change-Id: I50a948f3bb199f52d81dbd6066a603bea67a16bc
2021-11-10 14:00:57 -05:00
Joshua Mccloskey
c9786ca681 Merge "Add ignoreEnrollmentState to prompt info" into sc-v2-dev 2021-11-10 18:09:27 +00:00
Beverly
d5b3c8007d Add status bar state logs
Log the upcoming status bar state

Test: manually check logs (sysui dumpsys)
Bug: 205587594
Change-Id: I3316faac4bea5a79863092d79fed33216308dc21
2021-11-10 12:56:51 -05:00
Dave Mankoff
8d08226fe6 Merge "Move contents of FeatureFlags into FeatureFlagManager." into sc-v2-dev 2021-11-10 17:49:54 +00:00
Varun Shah
157fbcfbe4 Update deletion conditions for a package's UsageStats.
If a profile owner is defined for a specific user, do not delete usage
stats for a package on package deletion.

Bug: 197399948
Test: atest UserUsageStatsServiceTest
Test: atest UsageStatsTest [all]
Change-Id: I94a8e3dfca8ef4c7616f77944d61726e06043b85
Merged-In: I94a8e3dfca8ef4c7616f77944d61726e06043b85
2021-11-10 17:11:32 +00:00
Winson Chung
35b8e2b997 Merge "Add multi-task support to recents-animation task-appeared" into sc-v2-dev 2021-11-10 17:05:46 +00:00
Beverly
7615259bee Keep lightRevealEffect and lightRevealAmount up to date
- Update lightRevealAmount to the dozing amount immediately
when the lightRevealEffect is set in StatusBar (since
the PowerReveal and LiftReveal rely on dozing amount,
while the CircleReveal relies on timing)
- After the CircleReveal finishes, set the light reveal back
to the default LiftReveal
- Dump the light reveal effect to dumpsys for easier debugging

Test: manual (force AuthRippleController's KeyguardUpdateMonitorCallback
to be called before the BiometricUnlockController's callback)
Fixes: 201605121

Change-Id: Iedd31ec5aa75bda6998a0c942fd5a5eab953e74c
2021-11-10 12:01:29 -05:00
Beverly
ab30e51c36 Check whether udfps is supported instead of enrolled
In case there are delays in onEnrollmentChanged, let's make
sure that KeyguardUpdateMonitor uses the correct logic for
whether to run UDFPS or not.

Test: atest LockIconViewControllerTest
Bug: 205670174
Change-Id: Ia2b4fd290b4d78819fabf7bea744faed62fa0d3b
2021-11-10 16:44:39 +00:00
Vinit Nayak
b63153fa3b Merge "Pass back split bounds and meta info with GroupedTaskInfo" into sc-v2-dev 2021-11-10 16:33:49 +00:00
Dave Mankoff
5346e090f5 Move contents of FeatureFlags into FeatureFlagManager.
The meaningful contents of FeatureFlags only relates to debug
builds and has been moved into the debug version of
FeatureFlagManager.

Bug: 203548872
Test: atest SystemUITests && manual
Change-Id: Ifcef0cfe4e2d07daec34dfc7a6cbe2d305b312b5
2021-11-10 09:46:04 -05:00
James O'Leary
91af339bfe Merge "Fix error computing tertiary hue" into sc-v2-dev 2021-11-10 14:23:09 +00:00
Riddle Hsu
0463e0e170 Choose opaque activity for fixed rotation with entering pip
The case is like: (A,B,C are activities from top to bottom)
A orientation=unspecified, dialog style(!fillsParent)
B orientation=landscape, entering pip mode
C orientation=portrait, the activity that decides screen orientation

The non-opaque activity won't decide screen orientation, that causes
to miss the proper timing to trigger fixed rotation when the previous
top is switching from fullscreen to pip with screen orientation change.

This makes the callback order of PipTaskOrganizer still follows first
onFixedRotationStarted and then onTaskAppeared. So the PiP won't stay
in a stale state with wrong bounds or alpha.

Bug: 204844178
Test: 1. Launch Chrome and play video in fullscreen landscape.
      2. Enable auto-rotation, put device in landscape.
      3. adb shell am start -a android.intent.action.VIEW
      Chrome should enter PiP correctly.
Change-Id: I34250bb879898059568bc3b3b6b4da88fea75f57
2021-11-10 12:39:33 +00:00
wilsonshih
1740d85440 Correcting mNightMode which should set from Configuration
Bug: 205658898
Test: atest SplashscreenTests ActivityTaskManagerServiceTests
WindowProcessControllerTests

Change-Id: Ie238bfd99ffeae4db9de04c19cdaa1785a920cfc
2021-11-10 12:30:34 +00:00
Louis Chang
d942230710 Merge "Allows running TaskFragment related hierarchy op in lock task mode" into sc-v2-dev 2021-11-10 10:51:38 +00:00
Oliver Woodman
f256468516 Merge changes from topic "grouped-volume-tweak" into sc-v2-dev
* changes:
  Re-enable volume control for non-grouped devices
  Tweak volume adjustment rules
2021-11-10 10:48:01 +00:00
ryanlwlin
6092dd0be7 Fix magnification border includes taskbar
The window type of the Taskbar is navigation_bar_paenel, which
is unmagnifiable. However, we used to exclude these windows from
magnification region computation to avoid cutout.

When the foldables is unfolded, the taskbar wouldn't cause the cutout.
To fix this problem, so we add a flag to distinguish the windows
that cause the cutout.

Bug: 196510717
Test: manual test
      atest AccessibilityManagerServiceTest
Change-Id: I882bf48585f646cee5827044c88da37250041c0f
Merged-In: I882bf48585f646cee5827044c88da37250041c0f
(cherry picked from commit dc9b90f46a)
2021-11-10 09:52:44 +00:00
TreeHugger Robot
bf3446ce37 Merge "Fix preserving app links user selection on package update" into sc-v2-dev 2021-11-10 08:28:25 +00:00
TreeHugger Robot
5b210b31f0 Merge "[RESTRICT AUTOMERGE] Associate SystemUiContext with DisplayContent" into sc-v2-dev 2021-11-10 07:47:53 +00:00
Siarhei Vishniakou
a0a4b2a294 [automerger skipped] Only allow trusted overlays to specify FLAG_SLIPPERY am: 07e7aaff29 am: 6bdebc2a7d -s ours am: e1a2ccd0e5 -s ours am: db96b08d15 -s ours
am skip reason: Merged-In Ia30f1c38d5ddb351c90b748ea76448a76a9dde7b with SHA-1 0657e19940 is already in history

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

Change-Id: Id9b9263693256529d079ea57b1098cf7ab268e27
2021-11-10 07:38:08 +00:00
Wei Sheng Shih
8156e54a86 Merge "setTurnScreenOn can only used as wakeup" into sc-qpr1-dev am: 16e78720c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16211938

Change-Id: Idc5f92613cbfac9a6ab8e0045fe4d6fe8a484c28
2021-11-10 07:38:02 +00:00
Siarhei Vishniakou
db96b08d15 [automerger skipped] Only allow trusted overlays to specify FLAG_SLIPPERY am: 07e7aaff29 am: 6bdebc2a7d -s ours am: e1a2ccd0e5 -s ours
am skip reason: Merged-In Ia30f1c38d5ddb351c90b748ea76448a76a9dde7b with SHA-1 0657e19940 is already in history

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

Change-Id: If0144bfc51f707d85648e5a5f0c377463f5ec109
2021-11-10 07:38:00 +00:00
Wei Sheng Shih
16e78720c9 Merge "setTurnScreenOn can only used as wakeup" into sc-qpr1-dev 2021-11-10 07:21:27 +00:00
Siarhei Vishniakou
e1a2ccd0e5 [automerger skipped] Only allow trusted overlays to specify FLAG_SLIPPERY am: 07e7aaff29 am: 6bdebc2a7d -s ours
am skip reason: Merged-In Ia30f1c38d5ddb351c90b748ea76448a76a9dde7b with SHA-1 0657e19940 is already in history

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

Change-Id: I0888fd2e22727637aeb71c6b910d1f07403f1a03
2021-11-10 07:19:43 +00:00
Siarhei Vishniakou
6bdebc2a7d Only allow trusted overlays to specify FLAG_SLIPPERY am: 07e7aaff29
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16190719

Change-Id: Ida640d4498e98eaaa9922b611e38c65936dd9814
2021-11-10 07:07:03 +00:00