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

Commit 826939bf authored by Antonio Kantek's avatar Antonio Kantek
Browse files

Disable showInputMethodPickerFromClient on automotive

Fix: 354041706
Test: presubmit
Test: m
Flag: android.view.inputmethod.concurrent_input_methods
Change-Id: I56775e4bd43497d9f227940c356b8c409aca8835
parent a97e0590
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3991,6 +3991,10 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
    @Override
    public void showInputMethodPickerFromClient(IInputMethodClient client,
            int auxiliarySubtypeMode) {
        if (mConcurrentMultiUserModeEnabled) {
            Slog.w(TAG, "showInputMethodPickerFromClient is not enabled on automotive");
            return;
        }
        final int callingUserId = UserHandle.getCallingUserId();
        synchronized (ImfLock.class) {
            if (!canShowInputMethodPickerLocked(client)) {