Merge "The big Keyguard transition refactor (7/n)"

This commit is contained in:
Jorim Jaggi
2016-11-03 04:14:14 +00:00
committed by Android (Google) Code Review

View File

@@ -48,7 +48,7 @@ import static com.android.systemui.statusbar.phone.FingerprintUnlockController.*
public class StatusBarKeyguardViewManager implements RemoteInputController.Callback {
// When hiding the Keyguard with timing supplied from WindowManager, better be early than late.
private static final long HIDE_TIMING_CORRECTION_MS = -3 * 16;
private static final long HIDE_TIMING_CORRECTION_MS = - 16 * 3;
// Delay for showing the navigation bar when the bouncer appears. This should be kept in sync
// with the appear animations of the PIN/pattern/password views.
@@ -396,7 +396,8 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
if (endRunnable != null) {
endRunnable.run();
}
mStatusBarWindowManager.setKeyguardFadingAway(false);
mContainer.postDelayed(() -> mStatusBarWindowManager.setKeyguardFadingAway(false),
100);
mPhoneStatusBar.finishKeyguardFadingAway();
mFingerprintUnlockController.finishKeyguardFadingAway();
WindowManagerGlobal.getInstance().trimMemory(