OSDN Git Service

Revert "Fix no keyboard on N builds"
authorYohei Yukawa <yukawa@google.com>
Sat, 2 Apr 2016 00:20:37 +0000 (17:20 -0700)
committerYohei Yukawa <yukawa@google.com>
Sat, 2 Apr 2016 00:20:37 +0000 (17:20 -0700)
This reverts the previous commit [1] since the keyboard shows up without
such a workaround.  Presumably someone might have fixed something in
somewhere.

 [1]: Ifd588bf7db76f9ea5d6a90854f8e92f86f4c2910
      250faf9243a3e7981695be5274f3352ac1fd41bd.

Bug: 25942488
Bug: 26190615
Change-Id: Ie0e0ead960473a3504fc88a4f7d4d18108ef0e18

src/com/android/settings/CryptKeeper.java

index 594cd38..1b37066 100644 (file)
@@ -799,8 +799,6 @@ 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);