Merge "Don't show IME on pattern"

This commit is contained in:
Paul Lawrence
2014-03-14 14:38:53 +00:00
committed by Android (Google) Code Review

View File

@@ -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 // Asynchronously throw up the IME, since there are issues with requesting it to be shown
// immediately. // immediately.
mHandler.postDelayed(new Runnable() { if (mLockPatternView == null) {
@Override public void run() { mHandler.postDelayed(new Runnable() {
imm.showSoftInputUnchecked(0, null); @Override public void run() {
} imm.showSoftInputUnchecked(0, null);
}, 0); }
}, 0);
}
updateEmergencyCallButtonState(); updateEmergencyCallButtonState();
// Notify the user in 120 seconds that we are waiting for him to enter the password. // Notify the user in 120 seconds that we are waiting for him to enter the password.