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
1 file changed