Loading policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java +6 −10 Original line number Diff line number Diff line Loading @@ -180,7 +180,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private Runnable mRecreateRunnable = new Runnable() { public void run() { updateScreen(mMode, false); updateScreen(mMode, true); } }; Loading Loading @@ -400,7 +400,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { // then finish and get out if (mEnableFallback || mAccountIndex >= mAccounts.length) { if (mUnlockScreen == null) { Log.w(TAG, "no unlock screen when trying to enable fallback"); if (DEBUG) Log.w(TAG, "no unlock screen when trying to enable fallback"); } else if (mUnlockScreen instanceof PatternUnlockScreen) { ((PatternUnlockScreen)mUnlockScreen).setEnableFallback(mEnableFallback); } Loading Loading @@ -459,7 +459,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { public void reset() { mIsVerifyUnlockOnly = false; mForgotPattern = false; updateScreen(getInitialMode(), false); post(mRecreateRunnable); } @Override Loading @@ -485,9 +485,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private void recreateLockScreen() { if (mLockScreen != null) { if (mLockScreen.getVisibility() == View.VISIBLE) { ((KeyguardScreen) mLockScreen).onPause(); } ((KeyguardScreen) mLockScreen).cleanUp(); removeView(mLockScreen); } Loading @@ -499,9 +497,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private void recreateUnlockScreen(UnlockMode unlockMode) { if (mUnlockScreen != null) { if (mUnlockScreen.getVisibility() == View.VISIBLE) { ((KeyguardScreen) mUnlockScreen).onPause(); } ((KeyguardScreen) mUnlockScreen).cleanUp(); removeView(mUnlockScreen); } Loading Loading @@ -611,7 +607,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private void updateScreen(Mode mode, boolean force) { if (DEBUG_CONFIGURATION) Log.v(TAG, "**** UPDATE SCREEN: mode=" + mode + " last mode=" + mMode, new RuntimeException()); + " last mode=" + mMode + ", force = " + force, new RuntimeException()); mMode = mode; Loading Loading
policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java +6 −10 Original line number Diff line number Diff line Loading @@ -180,7 +180,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private Runnable mRecreateRunnable = new Runnable() { public void run() { updateScreen(mMode, false); updateScreen(mMode, true); } }; Loading Loading @@ -400,7 +400,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { // then finish and get out if (mEnableFallback || mAccountIndex >= mAccounts.length) { if (mUnlockScreen == null) { Log.w(TAG, "no unlock screen when trying to enable fallback"); if (DEBUG) Log.w(TAG, "no unlock screen when trying to enable fallback"); } else if (mUnlockScreen instanceof PatternUnlockScreen) { ((PatternUnlockScreen)mUnlockScreen).setEnableFallback(mEnableFallback); } Loading Loading @@ -459,7 +459,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { public void reset() { mIsVerifyUnlockOnly = false; mForgotPattern = false; updateScreen(getInitialMode(), false); post(mRecreateRunnable); } @Override Loading @@ -485,9 +485,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private void recreateLockScreen() { if (mLockScreen != null) { if (mLockScreen.getVisibility() == View.VISIBLE) { ((KeyguardScreen) mLockScreen).onPause(); } ((KeyguardScreen) mLockScreen).cleanUp(); removeView(mLockScreen); } Loading @@ -499,9 +497,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private void recreateUnlockScreen(UnlockMode unlockMode) { if (mUnlockScreen != null) { if (mUnlockScreen.getVisibility() == View.VISIBLE) { ((KeyguardScreen) mUnlockScreen).onPause(); } ((KeyguardScreen) mUnlockScreen).cleanUp(); removeView(mUnlockScreen); } Loading Loading @@ -611,7 +607,7 @@ public class LockPatternKeyguardView extends KeyguardViewBase { private void updateScreen(Mode mode, boolean force) { if (DEBUG_CONFIGURATION) Log.v(TAG, "**** UPDATE SCREEN: mode=" + mode + " last mode=" + mMode, new RuntimeException()); + " last mode=" + mMode + ", force = " + force, new RuntimeException()); mMode = mode; Loading