Call the scrim unlock callback when transitioning to BUBBLES_EXPANDED.
Without this, mKeyguardFading is always true (since it's not set to false after the Bubbles scrim transitions in) and you can't interact with the Bubbles UI. Test: open bubbles from lock screen notif Fixes: 158867259 Change-Id: Ia800d13468141f69f3ff090c2919ab7d64217c60
This commit is contained in:
@@ -3982,7 +3982,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
} else if (mIsKeyguard && !unlocking) {
|
||||
mScrimController.transitionTo(ScrimState.KEYGUARD);
|
||||
} else if (mBubbleController.isStackExpanded()) {
|
||||
mScrimController.transitionTo(ScrimState.BUBBLE_EXPANDED);
|
||||
mScrimController.transitionTo(ScrimState.BUBBLE_EXPANDED, mUnlockScrimCallback);
|
||||
} else {
|
||||
mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user