Fixed a bug where the pin wasn't scaled correctly
When switching between different users with different densities, the Pin entry wasn't recreated correctly. Change-Id: I4d34ed4b2962311f28588b13dd56838c84272edf Fixes: 27744173
This commit is contained in:
@@ -967,6 +967,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
||||
inflateEmptyShadeView();
|
||||
updateEmptyShadeView();
|
||||
inflateOverflowContainer();
|
||||
mStatusBarKeyguardViewManager.onDensityOrFontScaleChanged();
|
||||
}
|
||||
|
||||
private void inflateSignalClusters() {
|
||||
|
||||
@@ -348,6 +348,10 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
|
||||
}
|
||||
}
|
||||
|
||||
public void onDensityOrFontScaleChanged() {
|
||||
mBouncer.hide(true /* destroyView */);
|
||||
}
|
||||
|
||||
private void animateScrimControllerKeyguardFadingOut(long delay, long duration,
|
||||
boolean skipFirstFrame) {
|
||||
animateScrimControllerKeyguardFadingOut(delay, duration, null /* endRunnable */,
|
||||
|
||||
Reference in New Issue
Block a user