Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3ccad16 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Unify IMMS#onSecureSettingsChangedLocked() behaviors among users" into main

parents 24dcb185 572334b6
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -570,14 +570,13 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.

    @GuardedBy("ImfLock.class")
    private void onSecureSettingsChangedLocked(@NonNull String key, @UserIdInt int userId) {
        if (!mConcurrentMultiUserModeEnabled && userId != mCurrentUserId) {
            return;
        }
        switch (key) {
            case Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD: {
                if (!Flags.imeSwitcherRevamp()) {
                    if (userId == mCurrentUserId) {
                        mMenuController.updateKeyboardFromSettingsLocked();
                    }
                }
                break;
            }
            case Settings.Secure.ACCESSIBILITY_SOFT_KEYBOARD_MODE: {