summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fyodor Kupolov <fkupolov@google.com> 2016-12-07 18:54:55 -0800
committer Fyodor Kupolov <fkupolov@google.com> 2016-12-07 18:55:11 -0800
commita8a82ee297f491fd04d30f1da4570a9e1c85398f (patch)
tree8a6713c9c5342a6868e9097aa2521d73d39dd788
parent66ebaf7ff553f43c706efb21c5a8a084cef12cce (diff)
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
-rw-r--r--services/core/java/com/android/server/InputMethodManagerService.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/InputMethodManagerService.java b/services/core/java/com/android/server/InputMethodManagerService.java
index 3dfbdc392b13..372e9a640994 100644
--- a/services/core/java/com/android/server/InputMethodManagerService.java
+++ b/services/core/java/com/android/server/InputMethodManagerService.java
@@ -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();