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:
Selim Cinek
2016-05-04 14:13:20 -07:00
parent 3281fe22a1
commit aa8bbf1aef
2 changed files with 5 additions and 0 deletions

View File

@@ -967,6 +967,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
inflateEmptyShadeView();
updateEmptyShadeView();
inflateOverflowContainer();
mStatusBarKeyguardViewManager.onDensityOrFontScaleChanged();
}
private void inflateSignalClusters() {

View File

@@ -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 */,