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:
@@ -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
|
// Asynchronously throw up the IME, since there are issues with requesting it to be shown
|
||||||
// immediately.
|
// immediately.
|
||||||
if (mLockPatternView == null && !mCooldown) {
|
if (mLockPatternView == null && !mCooldown) {
|
||||||
|
getWindow().setSoftInputMode(
|
||||||
|
WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
|
||||||
mHandler.postDelayed(new Runnable() {
|
mHandler.postDelayed(new Runnable() {
|
||||||
@Override public void run() {
|
@Override public void run() {
|
||||||
imm.showSoftInputUnchecked(0, null);
|
imm.showSoftInputUnchecked(0, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user