Add flag to take view width into account for notification touches
This is primarily to improve usability of landscape accordion shade, where swiping on the scrim (which is most of the screen in that orientation) unexpectedly activates a gesture on notifications instead.
Bug: 335828150
Test: manually verified gestures must be started within bounds of notifs
Flag: ACONFIG com.android.systemui.confine_notification_touch_to_view_width STAGING
Change-Id: I5c3883d487ea437939a06e26562b7c95ddd994ef
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index 0ef12e2..3547765 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -413,6 +413,13 @@
}
flag {
+ name: "confine_notification_touch_to_view_width"
+ namespace: "systemui"
+ description: "Use notification view width when detecting gestures."
+ bug: "335828150"
+}
+
+flag {
name: "fix_image_wallpaper_crash_surface_already_released"
namespace: "systemui"
description: "Make sure ImageWallpaper doesn't return from OnSurfaceDestroyed until any drawing is finished"