Capture touches during hub transition, not only when fully open
Our current touch handling logic only intercepts touches when the scene is on communal, but this means that if a user swipes the hub open then interacts with other parts of the screen quickly, touches go to whatever is underneath the hub. This can lead to strange interactions where you might accidentally dismiss the dream while the hub open animation is still running. This CL changes our logic to intercept touches during any point of the hub transition, in addition to when idle on the hub. Bug: 338072097 Test: atest GlanceableHubContainerControllerTest manually tested by swiping the hub open and closed quickly Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD Change-Id: Ic4b0695c6463fd31aa32a40809d33bbbe4610b40
Loading
Please register or sign in to comment