Quick fix for notification scrim showing when swiping up the bouncer

This fix is disabling activating mQsExpandImmediate on lockscreen. This might be even long term fix as this callback is not activated on lockscreen when we actually want it to anyway - so it works on lockscreen but only when it's not desired.

Fixes: 228607886
Test: manual
Change-Id: Iaeee17391894f4e3a0bd617ca6b8133f0b9718e4
This commit is contained in:
Michal Brzezinski
2022-04-13 17:51:15 +01:00
parent 11000cfd99
commit cb612eeb77

View File

@@ -3173,7 +3173,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) {