diff options
| author | 2023-05-16 21:09:50 +0000 | |
|---|---|---|
| committer | 2023-05-16 21:09:50 +0000 | |
| commit | a23815bd8853e6c3540b9812df7a82c61d24ad1c (patch) | |
| tree | 4b15293deea0a25a7fee6e1ec875779b11f128ef | |
| parent | 91febd74f565ded6484965b18dee2295ce1c9343 (diff) | |
| parent | 2cfe388eb5d8ffc8c493f03590739289907a1cfd (diff) | |
Merge "Make all the SystemUiProxy APIs Oneway." into udc-dev
| -rw-r--r-- | packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl | 32 | ||||
| -rw-r--r-- | services/core/java/com/android/server/pm/LauncherAppsService.java | 2 |
2 files changed, 17 insertions, 17 deletions
diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl b/packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl index b8bddd149d9a..117cf78a4fe3 100644 --- a/packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl +++ b/packages/SystemUI/shared/src/com/android/systemui/shared/recents/ISystemUiProxy.aidl @@ -34,12 +34,12 @@ interface ISystemUiProxy { /** * Begins screen pinning on the provided {@param taskId}. */ - void startScreenPinning(int taskId) = 1; + oneway void startScreenPinning(int taskId) = 1; /** * Notifies SystemUI that Overview is shown. */ - void onOverviewShown(boolean fromHome) = 6; + oneway void onOverviewShown(boolean fromHome) = 6; /** * Proxies motion events from the homescreen UI to the status bar. Only called when @@ -48,57 +48,57 @@ interface ISystemUiProxy { * * Normal gesture: DOWN, MOVE/POINTER_DOWN/POINTER_UP)*, UP or CANCLE */ - void onStatusBarMotionEvent(in MotionEvent event) = 9; + oneway void onStatusBarMotionEvent(in MotionEvent event) = 9; /** * Proxies the assistant gesture's progress started from navigation bar. */ - void onAssistantProgress(float progress) = 12; + oneway void onAssistantProgress(float progress) = 12; /** * Proxies the assistant gesture fling velocity (in pixels per millisecond) upon completion. * Velocity is 0 for drag gestures. */ - void onAssistantGestureCompletion(float velocity) = 18; + oneway void onAssistantGestureCompletion(float velocity) = 18; /** * Start the assistant. */ - void startAssistant(in Bundle bundle) = 13; + oneway void startAssistant(in Bundle bundle) = 13; /** * Notifies that the accessibility button in the system's navigation area has been clicked */ - void notifyAccessibilityButtonClicked(int displayId) = 15; + oneway void notifyAccessibilityButtonClicked(int displayId) = 15; /** * Notifies that the accessibility button in the system's navigation area has been long clicked */ - void notifyAccessibilityButtonLongClicked() = 16; + oneway void notifyAccessibilityButtonLongClicked() = 16; /** * Ends the system screen pinning. */ - void stopScreenPinning() = 17; + oneway void stopScreenPinning() = 17; /** * Notifies that quickstep will switch to a new task * @param rotation indicates which Surface.Rotation the gesture was started in */ - void notifyPrioritizedRotation(int rotation) = 25; + oneway void notifyPrioritizedRotation(int rotation) = 25; /** * Notifies to expand notification panel. */ - void expandNotificationPanel() = 29; + oneway void expandNotificationPanel() = 29; /** * Notifies SystemUI to invoke Back. */ - void onBackPressed() = 44; + oneway void onBackPressed() = 44; /** Sets home rotation enabled. */ - void setHomeRotationEnabled(boolean enabled) = 45; + oneway void setHomeRotationEnabled(boolean enabled) = 45; /** Notifies when taskbar status updated */ oneway void notifyTaskbarStatus(boolean visible, boolean stashed) = 47; @@ -113,17 +113,17 @@ interface ISystemUiProxy { /** * Notifies SystemUI to invoke IME Switcher. */ - void onImeSwitcherPressed() = 49; + oneway void onImeSwitcherPressed() = 49; /** * Notifies to toggle notification panel. */ - void toggleNotificationPanel() = 50; + oneway void toggleNotificationPanel() = 50; /** * Handle the screenshot request. */ - void takeScreenshot(in ScreenshotRequest request) = 51; + oneway void takeScreenshot(in ScreenshotRequest request) = 51; // Next id = 52 } diff --git a/services/core/java/com/android/server/pm/LauncherAppsService.java b/services/core/java/com/android/server/pm/LauncherAppsService.java index 0bd6dffed024..ae169318cedc 100644 --- a/services/core/java/com/android/server/pm/LauncherAppsService.java +++ b/services/core/java/com/android/server/pm/LauncherAppsService.java @@ -2021,7 +2021,7 @@ public class LauncherAppsService extends SystemService { } // Each launcher has a different set of pinned shortcuts, so we need to do a // query in here. - // (As of now, only one launcher has the permission at a time, so it's bit + // (As of now, only one launcher has the permission at a time, so it's a bit // moot, but we may change the permission model eventually.) final List<ShortcutInfo> list = mShortcutServiceInternal.getShortcuts(launcherUserId, |