Add swipe gesture indicator for glanceable hub
This adds a handle to both the overlay and the Blank scene in the
communal SceneTransitionLayout. Long-term there will need to be a
better solution.
The handle in the Blank scene is not the correct color as it's
underneath the bottom scrim, which dims it slightly. Neither scrim
transitions super well or adjuts colors for underlying content.
See bug for video
Bug: 339667383
Test: atest DreamOverlayContainerViewControllerTest
Flag: com.android.systemui.glanceable_hub_gesture_handle
Change-Id: Ia5be42ff22fcbe3048f06e1a4937884f56232649
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index aff86e8a1..e34c49e 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -943,3 +943,10 @@
purpose: PURPOSE_BUGFIX
}
}
+
+flag {
+ name: "glanceable_hub_gesture_handle"
+ namespace: "systemui"
+ description: "Shows a vertical bar at the right edge to indicate the user can swipe to open the glanceable hub"
+ bug: "339667383"
+}