Do not call buildInputMethodListLocked twice
Skip the call in PHASE_ACTIVITY_MANAGER_READY, because the list of input methods hasn't change since buildInputMethodListLocked was called in the constructor. Bug: 32343335 Test: manual Change-Id: Iabd475a9f825e9b49ae9fd2108009d2c34ee9738
This commit is contained in:
@@ -1105,7 +1105,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
mWindowManagerInternal.setOnHardKeyboardStatusChangeListener(
|
||||
mHardKeyboardListener);
|
||||
}
|
||||
buildInputMethodListLocked(!mImeSelectedOnBoot /* resetDefaultEnabledIme */);
|
||||
if (!mImeSelectedOnBoot) {
|
||||
Slog.w(TAG, "Reset the default IME as \"Resource\" is ready here.");
|
||||
resetStateIfCurrentLocaleChangedLocked();
|
||||
|
||||
Reference in New Issue
Block a user