Loading services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +1 −3 Original line number Diff line number Diff line Loading @@ -1535,9 +1535,7 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub // and user switch would not happen at that time. resetCurrentMethodAndClientLocked(UnbindReason.SWITCH_USER); final InputMethodSettings newSettings = queryInputMethodServicesInternal(mContext, newUserId, AdditionalSubtypeMapRepository.get(newUserId), DirectBootAwareness.AUTO); InputMethodSettingsRepository.put(newUserId, newSettings); final InputMethodSettings newSettings = InputMethodSettingsRepository.get(newUserId); mSettings = newSettings; postInputMethodSettingUpdatedLocked(initialUserSwitch /* resetDefaultEnabledIme */); if (TextUtils.isEmpty(mSettings.getSelectedInputMethod())) { Loading Loading
services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +1 −3 Original line number Diff line number Diff line Loading @@ -1535,9 +1535,7 @@ public final class InputMethodManagerService extends IInputMethodManager.Stub // and user switch would not happen at that time. resetCurrentMethodAndClientLocked(UnbindReason.SWITCH_USER); final InputMethodSettings newSettings = queryInputMethodServicesInternal(mContext, newUserId, AdditionalSubtypeMapRepository.get(newUserId), DirectBootAwareness.AUTO); InputMethodSettingsRepository.put(newUserId, newSettings); final InputMethodSettings newSettings = InputMethodSettingsRepository.get(newUserId); mSettings = newSettings; postInputMethodSettingUpdatedLocked(initialUserSwitch /* resetDefaultEnabledIme */); if (TextUtils.isEmpty(mSettings.getSelectedInputMethod())) { Loading