summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-04-21 12:05:13 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-04-24 22:00:36 +0000
commit0f6558d6808fcc6f6e852af3b40b2e8e400ad3e7 (patch)
treee90bc8a5fbd5cd1bdc3e4a28747436c483f4795b /services/surfaceflinger/RegionSamplingThread.cpp
parentfe46a177d53b3045080de207287a43996e43e958 (diff)
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
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions