Merge "Fix Keyboard not show up when launch device control with security lock" into sc-v2-dev am: 7a73e20644 am: cfb074a4ce

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15897990

Change-Id: I9bae70538c806680384647d0caa23138fff45fc3
This commit is contained in:
TreeHugger Robot
2021-09-28 10:00:15 +00:00
committed by Automerger Merge Worker

View File

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