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

Skip to content
Commit 1a73f63e authored by Bryce Lee's avatar Bryce Lee
Browse files

Do not allow panel expansion with bouncer over dream.

This change prevents the PanelViewController, the parent class of
NotificationPanelView, from expanding on end motion when the bouncer is
shown over dream. The BouncerSwipeTouchHandler now informs
CentralSurfaces when the bouncer is showing over the dream. This is
independent of the normal signal for bouncer showing. This prevents the
panel from appearing erroneously on motion cancel during swipe down on
the bouncer. This cancel comes as a result of the bouncer pilfering the
touch events once the gesture has been detected.

Fixed: 228347831
Test: atest BouncerSwipeTouchHandlerTest#testInformBouncerShowingOnExpand
Test: atest BouncerSwipeTouchHandlerTest#testInformBouncerShowingOnCollapse
Change-Id: I83a599baea904c8b1a2cea3a7c55dbe9c166c3d2
parent 1f6fb398
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