Merge "Fix issue where Keyguard would not be dismissed"

This commit is contained in:
Lucas Dupin
2018-12-06 16:09:55 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}