Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +3 −8 Original line number Diff line number Diff line Loading @@ -347,7 +347,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { int[] mNavigationBarHeightForRotation = new int[4]; int[] mNavigationBarWidthForRotation = new int[4]; boolean mBootMessageNeedsHiding; KeyguardServiceDelegate mKeyguardDelegate; final Runnable mWindowManagerDrawCallback = new Runnable() { @Override Loading @@ -361,6 +360,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { public void onShown(IBinder windowToken) { if (DEBUG_WAKEUP) Slog.d(TAG, "mKeyguardDelegate.ShowListener.onShown."); mHandler.sendEmptyMessage(MSG_KEYGUARD_DRAWN_COMPLETE); hideBootMessages(); } }; Loading Loading @@ -6123,10 +6123,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { if (!mKeyguardDrawnOnce && mAwake) { mKeyguardDrawnOnce = true; enableScreen = true; if (mBootMessageNeedsHiding) { mBootMessageNeedsHiding = false; hideBootMessages(); } } else { enableScreen = false; } Loading @@ -6146,9 +6142,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { private void handleHideBootMessage() { synchronized (mLock) { if (!mKeyguardDrawnOnce) { mBootMessageNeedsHiding = true; return; // keyguard hasn't drawn the first time yet, not done booting if (!mKeyguardDrawComplete) { return; // keyguard hasn't completed drawing, not done booting. } } Loading Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +3 −8 Original line number Diff line number Diff line Loading @@ -347,7 +347,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { int[] mNavigationBarHeightForRotation = new int[4]; int[] mNavigationBarWidthForRotation = new int[4]; boolean mBootMessageNeedsHiding; KeyguardServiceDelegate mKeyguardDelegate; final Runnable mWindowManagerDrawCallback = new Runnable() { @Override Loading @@ -361,6 +360,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { public void onShown(IBinder windowToken) { if (DEBUG_WAKEUP) Slog.d(TAG, "mKeyguardDelegate.ShowListener.onShown."); mHandler.sendEmptyMessage(MSG_KEYGUARD_DRAWN_COMPLETE); hideBootMessages(); } }; Loading Loading @@ -6123,10 +6123,6 @@ public class PhoneWindowManager implements WindowManagerPolicy { if (!mKeyguardDrawnOnce && mAwake) { mKeyguardDrawnOnce = true; enableScreen = true; if (mBootMessageNeedsHiding) { mBootMessageNeedsHiding = false; hideBootMessages(); } } else { enableScreen = false; } Loading @@ -6146,9 +6142,8 @@ public class PhoneWindowManager implements WindowManagerPolicy { private void handleHideBootMessage() { synchronized (mLock) { if (!mKeyguardDrawnOnce) { mBootMessageNeedsHiding = true; return; // keyguard hasn't drawn the first time yet, not done booting if (!mKeyguardDrawComplete) { return; // keyguard hasn't completed drawing, not done booting. } } Loading