Loading packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl +6 −1 Original line number Diff line number Diff line Loading @@ -150,5 +150,10 @@ interface ISystemUiProxy { */ oneway void notifyTaskbarAutohideSuspend(boolean suspend) = 48; // Next id = 49 /** * Notifies SystemUI to invoke IME Switcher. */ void onImeSwitcherPressed() = 49; // Next id = 50 } packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java +11 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.systemui.recents; import static android.content.pm.PackageManager.MATCH_SYSTEM_ONLY; import static android.view.Display.DEFAULT_DISPLAY; import static android.view.MotionEvent.ACTION_CANCEL; import static android.view.MotionEvent.ACTION_DOWN; import static android.view.MotionEvent.ACTION_UP; Loading Loading @@ -68,6 +69,7 @@ import android.view.KeyEvent; import android.view.MotionEvent; import android.view.Surface; import android.view.accessibility.AccessibilityManager; import android.view.inputmethod.InputMethodManager; import androidx.annotation.NonNull; Loading Loading @@ -236,6 +238,15 @@ public class OverviewProxyService extends CurrentUserTracker implements }); } @Override public void onImeSwitcherPressed() throws RemoteException { // TODO(b/204901476) We're intentionally using DEFAULT_DISPLAY for now since // Launcher/Taskbar isn't display aware. mContext.getSystemService(InputMethodManager.class) .showInputMethodPickerFromSystem(true /* showAuxiliarySubtypes */, DEFAULT_DISPLAY); } @Override public void setHomeRotationEnabled(boolean enabled) { verifyCallerAndClearCallingIdentityPostMain("setHomeRotationEnabled", () -> Loading Loading
packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl +6 −1 Original line number Diff line number Diff line Loading @@ -150,5 +150,10 @@ interface ISystemUiProxy { */ oneway void notifyTaskbarAutohideSuspend(boolean suspend) = 48; // Next id = 49 /** * Notifies SystemUI to invoke IME Switcher. */ void onImeSwitcherPressed() = 49; // Next id = 50 }
packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java +11 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.systemui.recents; import static android.content.pm.PackageManager.MATCH_SYSTEM_ONLY; import static android.view.Display.DEFAULT_DISPLAY; import static android.view.MotionEvent.ACTION_CANCEL; import static android.view.MotionEvent.ACTION_DOWN; import static android.view.MotionEvent.ACTION_UP; Loading Loading @@ -68,6 +69,7 @@ import android.view.KeyEvent; import android.view.MotionEvent; import android.view.Surface; import android.view.accessibility.AccessibilityManager; import android.view.inputmethod.InputMethodManager; import androidx.annotation.NonNull; Loading Loading @@ -236,6 +238,15 @@ public class OverviewProxyService extends CurrentUserTracker implements }); } @Override public void onImeSwitcherPressed() throws RemoteException { // TODO(b/204901476) We're intentionally using DEFAULT_DISPLAY for now since // Launcher/Taskbar isn't display aware. mContext.getSystemService(InputMethodManager.class) .showInputMethodPickerFromSystem(true /* showAuxiliarySubtypes */, DEFAULT_DISPLAY); } @Override public void setHomeRotationEnabled(boolean enabled) { verifyCallerAndClearCallingIdentityPostMain("setHomeRotationEnabled", () -> Loading