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

Skip to content
Commit 86fa77ab authored by William Xiao's avatar William Xiao
Browse files

Fix ShadeTouchHandler over the lock screen

Shade expansion while on the lock screen is handled by the
NotificationShadeWindowViewController's DragDownHelper. In order for
the ShadeTouchHandler to work when opening the shade from the hub over
the lock screen, we need to simulate the full sequence of events for a
touch, since NSWVC has logic in both the dispatch and intercept phases.

This change also limits the ShadeTouchHandler to only accept downward
swipes. Upward swipes were not an issue over the dream, but it causes
some visual issues over the lock screen.

Fixed: 328838259
Bug: 335505186
Test: atest ShadeTouchHandlerTest CommunalTouchHandlerTest NotificationShadeWindowViewControllerTest
      also verified manually, see bug for video
Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD
Change-Id: I92b9c220b52b0c0677712fcda6ace27dff143ffa
parent c84e0559
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