Merge "Fix Keyboard not show up when launch device control with security lock" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-09-28 09:43:51 +00:00
committed by Android (Google) Code Review

View File

@@ -208,8 +208,7 @@ public class KeyguardPasswordViewController
mView.post(() -> { mView.post(() -> {
if (mView.isShown()) { if (mView.isShown()) {
mPasswordEntry.requestFocus(); mPasswordEntry.requestFocus();
mInputMethodManager.showSoftInput( mPasswordEntry.getWindowInsetsController().show(WindowInsets.Type.ime());
mPasswordEntry, InputMethodManager.SHOW_IMPLICIT);
} }
}); });
} }