Fix issue where Keyguard would not be dismissed
Keyguard would not be dismissed if showing locked with a bouncer while a HUN is visible. Test: manual Change-Id: Ib13847ad0e2bcce08907eaad74860b987cd9f899 Fixes: 119929970
This commit is contained in:
@@ -2527,7 +2527,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
}
|
||||
}
|
||||
if (dismissShade) {
|
||||
if (mExpandedVisible) {
|
||||
if (mExpandedVisible && !mBouncerShowing) {
|
||||
animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL, true /* force */,
|
||||
true /* delayed*/);
|
||||
} else {
|
||||
@@ -3208,6 +3208,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
mNotificationPanel.onAffordanceLaunchEnded();
|
||||
mNotificationPanel.animate().cancel();
|
||||
mNotificationPanel.setAlpha(1f);
|
||||
updateScrimController();
|
||||
Trace.endSection();
|
||||
return staying;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user