Merge "PIN/PUK Views not showing after boot" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-03-09 22:29:15 +00:00
committed by Android (Google) Code Review

View File

@@ -739,8 +739,13 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
} }
public void onThemeChanged() { public void onThemeChanged() {
boolean wasShowing = mBouncer.isShowing();
boolean wasScrimmed = mBouncer.isScrimmed();
hideBouncer(true /* destroyView */); hideBouncer(true /* destroyView */);
mBouncer.prepare(); mBouncer.prepare();
if (wasShowing) showBouncer(wasScrimmed);
} }
public void onKeyguardFadedAway() { public void onKeyguardFadedAway() {