diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java index 6fbef9bf83..a8a0b59f87 100644 --- a/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java +++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarNavButtonController.java @@ -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) { diff --git a/quickstep/src/com/android/quickstep/SystemUiProxy.java b/quickstep/src/com/android/quickstep/SystemUiProxy.java index b6f9d5846d..541af76abb 100644 --- a/quickstep/src/com/android/quickstep/SystemUiProxy.java +++ b/quickstep/src/com/android/quickstep/SystemUiProxy.java @@ -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) {