diff options
| author | 2021-03-09 22:29:15 +0000 | |
|---|---|---|
| committer | 2021-03-09 22:29:15 +0000 | |
| commit | a701830c1239eb24c52247a789a464c096ca1a4e (patch) | |
| tree | 49df557c9ab3ae8a35b078bf8d39655a25e7d2e3 | |
| parent | a8ef1df970e9b3161b901e75e95c4f0a1a0355f5 (diff) | |
| parent | f4ce81c63c8a10d096a8bf7a39bc6d23f52147a6 (diff) | |
Merge "PIN/PUK Views not showing after boot" into sc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java index b4c687d36e6c..5083e330f9a0 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java @@ -739,8 +739,13 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb } public void onThemeChanged() { + boolean wasShowing = mBouncer.isShowing(); + boolean wasScrimmed = mBouncer.isScrimmed(); + hideBouncer(true /* destroyView */); mBouncer.prepare(); + + if (wasShowing) showBouncer(wasScrimmed); } public void onKeyguardFadedAway() { |