From e54e9323ed423d68f0567dcf05f45c62187ad8dd Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Thu, 13 Mar 2014 14:05:48 -0700 Subject: [PATCH] Don't show IME on pattern Bug: 13327729 Change-Id: Ie83dda98558b66c824c15975310a8fb1835e900f --- src/com/android/settings/CryptKeeper.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java index d974d005dda..de7b05af355 100644 --- a/src/com/android/settings/CryptKeeper.java +++ b/src/com/android/settings/CryptKeeper.java @@ -599,11 +599,13 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList } // 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.