Merge "Fix bug where QS tiles appeared behind keyguard" into sc-dev am: aae8854106
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15263382 Change-Id: I657b94c7e652a493ea1826d9c5a9e911124883de
This commit is contained in:
@@ -686,9 +686,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
new FalsingManager.FalsingBeliefListener() {
|
||||
@Override
|
||||
public void onFalse() {
|
||||
// Hides quick settings.
|
||||
mNotificationPanelViewController.resetViews(true);
|
||||
// Hides bouncer and quick-quick settings.
|
||||
// Hides quick settings, bouncer, and quick-quick settings.
|
||||
mStatusBarKeyguardViewManager.reset(true);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -521,7 +521,9 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
|
||||
@Override
|
||||
public void reset(boolean hideBouncerWhenShowing) {
|
||||
if (mShowing) {
|
||||
mNotificationPanelViewController.closeQs();
|
||||
// Hide quick settings.
|
||||
mNotificationPanelViewController.resetViews(/* animate= */ true);
|
||||
// Hide bouncer and quick-quick settings.
|
||||
if (mOccluded && !mDozing) {
|
||||
mStatusBar.hideKeyguard();
|
||||
if (hideBouncerWhenShowing || mBouncer.needsFullscreenBouncer()) {
|
||||
|
||||
Reference in New Issue
Block a user