summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Miller <jaggies@google.com>2013-11-14 16:47:26 -0800
committerJim Miller <jaggies@google.com>2013-11-14 16:47:26 -0800
commitd31fd404e3df07a76172a5e953ebea2545a177af (patch)
tree642290da27e5dfd78a43e7e0137d77353f54213b
parent90fa53318d4984dbebfa7964ae1f79f51a130932 (diff)
downloadbase-d31fd404e3df07a76172a5e953ebea2545a177af.tar.gz
Don't show external presentation until keyguard actually shows
The previous code was looking for just the display to turn off. It should wait until keyguard is actually shown before enabling the external presentations. Fix for bug 11694904 Change-Id: Iebf3aa04fc094cd4e5c8f56bc771aca1e5921d04
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java b/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
index 91671e5a5983..4086f84271a3 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
@@ -618,14 +618,6 @@ public class KeyguardViewMediator {
}
}
KeyguardUpdateMonitor.getInstance(mContext).dispatchScreenTurndOff(why);
-
- // This needs to run on the UI thread
- mHandler.post(new Runnable() {
- @Override
- public void run() {
- mKeyguardDisplayManager.show();
- }
- });
}
private void doKeyguardLaterLocked() {