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

Commit 04d52b48 authored by Vinit Nayak's avatar Vinit Nayak Committed by Android (Google) Code Review
Browse files

Merge "Invoke IME switcher for taskbar through SysUI" into sc-v2-dev

parents cc0224fe 0ca3f98e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -102,9 +102,7 @@ public class TaskbarNavButtonController {
    }

    private void showIMESwitcher() {
        mService.getSystemService(InputMethodManager.class)
                .showInputMethodPickerFromSystem(true /* showAuxiliarySubtypes */,
                        DEFAULT_DISPLAY);
        SystemUiProxy.INSTANCE.getNoCreate().onImeSwitcherPressed();
    }

    private void notifyImeClick(boolean longClick) {
+11 −0
Original line number Diff line number Diff line
@@ -117,6 +117,17 @@ public class SystemUiProxy implements ISystemUiProxy,
        }
    }

    @Override
    public void onImeSwitcherPressed() {
        if (mSystemUiProxy != null) {
            try {
                mSystemUiProxy.onImeSwitcherPressed();
            } catch (RemoteException e) {
                Log.w(TAG, "Failed call onImeSwitcherPressed", e);
            }
        }
    }

    @Override
    public void setHomeRotationEnabled(boolean enabled) {
        if (mSystemUiProxy != null) {