Loading services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +1 −7 Original line number Diff line number Diff line Loading @@ -5706,15 +5706,9 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. if (!CollectionUtils.any(enabledImes, imi -> imi.getId().equals(imeId))) { return false; // IME is not found or not enabled. } if (mConcurrentMultiUserModeEnabled || userId == mCurrentUserId) { setInputMethodLocked(imeId, subtypeId, userId); return true; } settings.putSelectedInputMethod(imeId); // For non-current user, only reset subtypeId (instead of setting the given one). settings.putSelectedSubtype(NOT_A_SUBTYPE_ID); return true; } /** * Filter the access to the input method by rules of the package visibility. Return {@code true} Loading Loading
services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +1 −7 Original line number Diff line number Diff line Loading @@ -5706,15 +5706,9 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. if (!CollectionUtils.any(enabledImes, imi -> imi.getId().equals(imeId))) { return false; // IME is not found or not enabled. } if (mConcurrentMultiUserModeEnabled || userId == mCurrentUserId) { setInputMethodLocked(imeId, subtypeId, userId); return true; } settings.putSelectedInputMethod(imeId); // For non-current user, only reset subtypeId (instead of setting the given one). settings.putSelectedSubtype(NOT_A_SUBTYPE_ID); return true; } /** * Filter the access to the input method by rules of the package visibility. Return {@code true} Loading