From 250faf9243a3e7981695be5274f3352ac1fd41bd Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Mon, 14 Dec 2015 14:42:48 -0800 Subject: [PATCH] Fix no keyboard on N builds Bug: 25942488 Bug: 26190615 Change-Id: Ifd588bf7db76f9ea5d6a90854f8e92f86f4c2910 --- src/com/android/settings/CryptKeeper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java index 1b370661314..594cd38924a 100644 --- a/src/com/android/settings/CryptKeeper.java +++ b/src/com/android/settings/CryptKeeper.java @@ -799,6 +799,8 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList // Asynchronously throw up the IME, since there are issues with requesting it to be shown // immediately. if (mLockPatternView == null && !mCooldown) { + getWindow().setSoftInputMode( + WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); mHandler.postDelayed(new Runnable() { @Override public void run() { imm.showSoftInputUnchecked(0, null);