Fix no keyboard on N builds
Bug: 25942488 Bug: 26190615 Change-Id: Ifd588bf7db76f9ea5d6a90854f8e92f86f4c2910
This commit is contained in:
committed by
Ian Pedowitz
parent
a48f16fe01
commit
250faf9243
@@ -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