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

Commit 2a6b6848 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Revert "Temporarily make binding controller no-op for visible bg users"

This reverts commit 2188e55b [1].

Reason for revert:
We are now ready to start launching IME for each active user in a
concurrent manner. The feature is now demoable.

 [1]: Ie8cea0888fab987d48410ae7638423f56d7029a2

Bug: 341558132
Bug: 344883373
Fix: 341558132
Test: presubmit
Flag: android.view.inputmethod.concurrent_input_methods
Change-Id: I3816401081a84c7765b2a0c150cc3a5544c95adb
parent df958e7d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2929,6 +2929,9 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
        final var userData = getUserData(userId);
        userData.mSwitchingController.resetCircularListLocked(mContext, settings);
        userData.mHardwareKeyboardShortcutController.update(settings);

        final var bindingController = getInputMethodBindingController(userId);
        bindingController.setSelectedMethodId(id);
    }

    @GuardedBy("ImfLock.class")