Don't show IME on pattern
Bug: 13327729
Change-Id: Ie83dda98558b66c824c15975310a8fb1835e900f
diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java
index d974d00..de7b05a 100644
--- a/src/com/android/settings/CryptKeeper.java
+++ b/src/com/android/settings/CryptKeeper.java
@@ -599,11 +599,13 @@
}
// Asynchronously throw up the IME, since there are issues with requesting it to be shown
// immediately.
- mHandler.postDelayed(new Runnable() {
- @Override public void run() {
- imm.showSoftInputUnchecked(0, null);
- }
- }, 0);
+ if (mLockPatternView == null) {
+ mHandler.postDelayed(new Runnable() {
+ @Override public void run() {
+ imm.showSoftInputUnchecked(0, null);
+ }
+ }, 0);
+ }
updateEmergencyCallButtonState();
// Notify the user in 120 seconds that we are waiting for him to enter the password.