Merge "Do not call buildInputMethodListLocked twice"

This commit is contained in:
TreeHugger Robot
2016-12-08 23:22:33 +00:00
committed by Android (Google) Code Review

View File

@@ -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();