Loading packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java +8 −1 Original line number Original line Diff line number Diff line Loading @@ -617,8 +617,15 @@ public class KeyguardViewMediator { } } } } KeyguardUpdateMonitor.getInstance(mContext).dispatchScreenTurndOff(why); KeyguardUpdateMonitor.getInstance(mContext).dispatchScreenTurndOff(why); // This needs to run on the UI thread mHandler.post(new Runnable() { @Override public void run() { mKeyguardDisplayManager.show(); mKeyguardDisplayManager.show(); } } }); } private void doKeyguardLaterLocked() { private void doKeyguardLaterLocked() { // if the screen turned off because of timeout or the user hit the power button // if the screen turned off because of timeout or the user hit the power button Loading Loading
packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java +8 −1 Original line number Original line Diff line number Diff line Loading @@ -617,8 +617,15 @@ public class KeyguardViewMediator { } } } } KeyguardUpdateMonitor.getInstance(mContext).dispatchScreenTurndOff(why); KeyguardUpdateMonitor.getInstance(mContext).dispatchScreenTurndOff(why); // This needs to run on the UI thread mHandler.post(new Runnable() { @Override public void run() { mKeyguardDisplayManager.show(); mKeyguardDisplayManager.show(); } } }); } private void doKeyguardLaterLocked() { private void doKeyguardLaterLocked() { // if the screen turned off because of timeout or the user hit the power button // if the screen turned off because of timeout or the user hit the power button Loading