From 259775314ae834cdc6b3f511c7079d67d5285083 Mon Sep 17 00:00:00 2001 From: Seigo Nonaka Date: Wed, 13 Apr 2016 08:41:43 +0000 Subject: [PATCH] Revert "Revert "Fix no keyboard on N builds"" Looks like the underling issue is not fixed yet. This reverts commit 7bb0465687fdf58bc2c377b8dfa454d8c75c983a. Bug: 26190615 Bug: 28151196 Change-Id: Icee6d90fc4336e832f082ce2974edfa558170030 --- 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);