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

Skip to content
Commit 00a1e71b authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Handling 3 and 4 finger swipes on tutorial selection screen

Sometimes user is clicking button by mistake by performing touchpad gesture on top of it.
Tutorial selection screen is already intercepting gestures from system but now let's also have high-level composable that handles them so they're not propagating to lower composables.

I considered also enabling system gestures on this screen instead but it must be done on window level. All screens from touchpad tutorial share the same window so it must be done in runtime but seems changing that flag in runtime doesn't work (maybe because it's private window flag?).

Fixes: 373376226
Test: do 3-finger gesture on top of the button (start and end point must be inside the button) and see nothing's happening
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Change-Id: If9ad2f83d4715a706a4ca39a01c4412b06a63b8f
parent ea1f8243
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment