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

Skip to content
Commit 1b958622 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Handling back gesture in BackGestureTutorialScreen

The only thing that's reacting to the gesture now is title text changing to "Done"

- registering MotionEvents handler to pass to ViewModel
- GestureTutorialViewModel filters events coming from touchpad
- BackGestureMonitor receives touchpad events and contains logic for recognizing the gesture

Also introducing FakeMotionEvent methods that will be helpful for testing MotionEvents

Bug: 346579074
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Test: manually, see video
Test: BackGestureMonitorTest
Test: GestureTutorialViewModelTest
Change-Id: I516c6d661e5d332fcccc78c21580095ddf90f4a7
parent 6f9beb9c
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