Loading packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +13 −1 Original line number Diff line number Diff line Loading @@ -238,6 +238,12 @@ public class KeyguardViewMediator extends SystemUI { // last known state of the cellular connection private String mPhoneState = TelephonyManager.EXTRA_STATE_IDLE; /** * Whether a hide is pending an we are just waiting for #startKeyguardExitAnimation to be * called. * */ private boolean mHiding; /** * we send this intent when the keyguard is dismissed. */ Loading Loading @@ -1169,6 +1175,7 @@ public class KeyguardViewMediator extends SystemUI { } mStatusBarKeyguardViewManager.show(options); mHiding = false; mShowing = true; mKeyguardDonePending = false; updateActivityLockScreenState(); Loading @@ -1191,7 +1198,7 @@ public class KeyguardViewMediator extends SystemUI { synchronized (KeyguardViewMediator.this) { if (DEBUG) Log.d(TAG, "handleHide"); try { mHiding = true; if (mShowing) { // Don't actually hide the Keyguard at the moment, wait for window manager until Loading @@ -1212,6 +1219,11 @@ public class KeyguardViewMediator extends SystemUI { private void handleStartKeyguardExitAnimation(long startTime, long fadeoutDuration) { synchronized (KeyguardViewMediator.this) { if (!mHiding) { return; } mHiding = false; // only play "unlock" noises if not on a call (since the incall UI // disables the keyguard) if (TelephonyManager.EXTRA_STATE_IDLE.equals(mPhoneState)) { Loading services/core/java/com/android/server/wm/WindowAnimator.java +1 −1 Original line number Diff line number Diff line Loading @@ -391,7 +391,7 @@ public class WindowAnimator { final WindowStateAnimator winAnimator = unForceHiding.get(i); winAnimator.setAnimation(a); winAnimator.mAnimationIsEntrance = true; if (startKeyguardExit) { if (startKeyguardExit && mKeyguardGoingAway) { // Do one time only. mPolicy.startKeyguardExitAnimation(mCurrentTime + a.getStartOffset(), a.getDuration()); Loading Loading
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +13 −1 Original line number Diff line number Diff line Loading @@ -238,6 +238,12 @@ public class KeyguardViewMediator extends SystemUI { // last known state of the cellular connection private String mPhoneState = TelephonyManager.EXTRA_STATE_IDLE; /** * Whether a hide is pending an we are just waiting for #startKeyguardExitAnimation to be * called. * */ private boolean mHiding; /** * we send this intent when the keyguard is dismissed. */ Loading Loading @@ -1169,6 +1175,7 @@ public class KeyguardViewMediator extends SystemUI { } mStatusBarKeyguardViewManager.show(options); mHiding = false; mShowing = true; mKeyguardDonePending = false; updateActivityLockScreenState(); Loading @@ -1191,7 +1198,7 @@ public class KeyguardViewMediator extends SystemUI { synchronized (KeyguardViewMediator.this) { if (DEBUG) Log.d(TAG, "handleHide"); try { mHiding = true; if (mShowing) { // Don't actually hide the Keyguard at the moment, wait for window manager until Loading @@ -1212,6 +1219,11 @@ public class KeyguardViewMediator extends SystemUI { private void handleStartKeyguardExitAnimation(long startTime, long fadeoutDuration) { synchronized (KeyguardViewMediator.this) { if (!mHiding) { return; } mHiding = false; // only play "unlock" noises if not on a call (since the incall UI // disables the keyguard) if (TelephonyManager.EXTRA_STATE_IDLE.equals(mPhoneState)) { Loading
services/core/java/com/android/server/wm/WindowAnimator.java +1 −1 Original line number Diff line number Diff line Loading @@ -391,7 +391,7 @@ public class WindowAnimator { final WindowStateAnimator winAnimator = unForceHiding.get(i); winAnimator.setAnimation(a); winAnimator.mAnimationIsEntrance = true; if (startKeyguardExit) { if (startKeyguardExit && mKeyguardGoingAway) { // Do one time only. mPolicy.startKeyguardExitAnimation(mCurrentTime + a.getStartOffset(), a.getDuration()); Loading