Merge "Fix bug where QS tiles appeared behind keyguard" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
aae8854106
@@ -685,9 +685,7 @@ public class StatusBar extends SystemUI implements DemoMode,
|
|||||||
new FalsingManager.FalsingBeliefListener() {
|
new FalsingManager.FalsingBeliefListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onFalse() {
|
public void onFalse() {
|
||||||
// Hides quick settings.
|
// Hides quick settings, bouncer, and quick-quick settings.
|
||||||
mNotificationPanelViewController.resetViews(true);
|
|
||||||
// Hides bouncer and quick-quick settings.
|
|
||||||
mStatusBarKeyguardViewManager.reset(true);
|
mStatusBarKeyguardViewManager.reset(true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -521,7 +521,9 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
|
|||||||
@Override
|
@Override
|
||||||
public void reset(boolean hideBouncerWhenShowing) {
|
public void reset(boolean hideBouncerWhenShowing) {
|
||||||
if (mShowing) {
|
if (mShowing) {
|
||||||
mNotificationPanelViewController.closeQs();
|
// Hide quick settings.
|
||||||
|
mNotificationPanelViewController.resetViews(/* animate= */ true);
|
||||||
|
// Hide bouncer and quick-quick settings.
|
||||||
if (mOccluded && !mDozing) {
|
if (mOccluded && !mDozing) {
|
||||||
mStatusBar.hideKeyguard();
|
mStatusBar.hideKeyguard();
|
||||||
if (hideBouncerWhenShowing || mBouncer.needsFullscreenBouncer()) {
|
if (hideBouncerWhenShowing || mBouncer.needsFullscreenBouncer()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user