Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 69a87b54 authored by William Xiao's avatar William Xiao
Browse files

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
parent 479067ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment