Merge "Quick fix for notification scrim showing when swiping up the bouncer" into tm-dev

This commit is contained in:
Michał Brzeziński
2022-04-14 14:37:12 +00:00
committed by Android (Google) Code Review

View File

@@ -3165,7 +3165,10 @@ public class NotificationPanelViewController extends PanelViewController {
mFalsingCollector.onTrackingStarted(!mKeyguardStateController.canDismissLockScreen());
super.onTrackingStarted();
mScrimController.onTrackingStarted();
if (mShouldUseSplitNotificationShade) {
// normally we want to set mQsExpandImmediate for every split shade case (at least when
// expanding), but keyguard tracking logic is different - this callback is called when
// unlocking with swipe up but not when swiping down to reveal shade
if (mShouldUseSplitNotificationShade && !mKeyguardShowing) {
mQsExpandImmediate = true;
}
if (mQsFullyExpanded) {