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

Commit 620f303c authored by Antonio Kantek's avatar Antonio Kantek Committed by Android (Google) Code Review
Browse files

Merge "Disable showInputMethodPickerFromClient on automotive" into main

parents 423d2d8e 826939bf
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -3962,6 +3962,10 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
    @Override
    @Override
    public void showInputMethodPickerFromClient(IInputMethodClient client,
    public void showInputMethodPickerFromClient(IInputMethodClient client,
            int auxiliarySubtypeMode) {
            int auxiliarySubtypeMode) {
        if (mConcurrentMultiUserModeEnabled) {
            Slog.w(TAG, "showInputMethodPickerFromClient is not enabled on automotive");
            return;
        }
        final int callingUserId = UserHandle.getCallingUserId();
        final int callingUserId = UserHandle.getCallingUserId();
        synchronized (ImfLock.class) {
        synchronized (ImfLock.class) {
            if (!canShowInputMethodPickerLocked(client)) {
            if (!canShowInputMethodPickerLocked(client)) {