summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2021-12-08 19:22:47 +0000
committerWinson Chung <winsonc@google.com>2022-01-06 17:41:58 +0000
commit64f486017f17f7f214d3beeb3d130a0cb1ae2fa4 (patch)
treee74e01d312ec4e72f6a0ef6af750cec374d59505 /core
parent5a1d0103e4e8341ac5c45e119a28e86b99ffe1ef (diff)
Notify sysui of side swipe gestures that will show the bars transiently
- This won't be needed in T when immersive mode gestures are moved to SysUI (b/161689946) Bug: 208886351 Test: atest SystemUITests Test: In both 3button/gestural (all orientations), swipe from bar areas, swipe from sides show entry point only when swiping over bars Change-Id: Ie8f15a5fbd3248bc86a50ffcd1fc73cd08c4e214
Diffstat (limited to 'core')
-rw-r--r--core/java/com/android/internal/statusbar/IStatusBar.aidl4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/com/android/internal/statusbar/IStatusBar.aidl b/core/java/com/android/internal/statusbar/IStatusBar.aidl
index b427e8be142d..ad4f280b1e8d 100644
--- a/core/java/com/android/internal/statusbar/IStatusBar.aidl
+++ b/core/java/com/android/internal/statusbar/IStatusBar.aidl
@@ -205,8 +205,10 @@ oneway interface IStatusBar
*
* @param displayId the ID of the display to notify.
* @param types the internal insets types of the bars are about to show transiently.
+ * @param isGestureOnSystemBar whether the gesture to show the transient bar was a gesture on
+ * one of the bars itself.
*/
- void showTransient(int displayId, in int[] types);
+ void showTransient(int displayId, in int[] types, boolean isGestureOnSystemBar);
/**
* Notifies System UI to abort the transient state of system bars, which prevents the bars being