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

Skip to content
Commit 0f6558d6 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Do not slip touch into window with same input channel

When two windows have the same input channel, do not slip touch from one
of them into the other. We don't have a use case for that, and
supporting this behaviour would be harder than simply disabling it.

Without slipping, the input channel also receives a continuous gesture,
which is generally desirable. The original window may not know that
there's a clone out there with the same input channel, and therefore may
not know to remove FLAG_SLIPPERY whenever it desires to receive a
continuous gesture.

Bug: 274073185
Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests
Change-Id: I577724c1c2e77928e695c250b5f5fbe8f1592a2f
parent fe46a177
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