Merge "Revert "Revert "Fix no keyboard on N builds""" into nyc-dev am: e744ca8

am: ddfefc3

* commit 'ddfefc33fb5f1234b96edb8a11027211dce6c83a':
  Revert "Revert "Fix no keyboard on N builds""

Change-Id: Iae052343ce6bd297ca621585ae6a27f1921b06f7
This commit is contained in:
Yohei Yukawa
2016-04-13 16:11:24 +00:00
committed by android-build-merger

View File

@@ -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);