summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2024-07-18 11:58:25 -0700
committer Siarhei Vishniakou <svv@google.com> 2024-07-26 14:37:16 -0700
commita3fe664ce5d4931e2717a1ed48c8ea8e66b03ac8 (patch)
tree8467e32d6d64d6b491dcebac3ed16ec5ffca9f08 /libs/gui/ConsumerBase.cpp
parent0f499e82a8a7088a17bb1db8a19a7e2b2f716b91 (diff)
Always split touches
In this CL, we are force all windows to use FLAG_SPLIT_TOUCH. This is needed to avoid complex interactions between this flag and the spy windows functionality. The old behaviour is likely mostly a historical artifact, and was not originally intended. With the features like freeform windows, split screen, and spy windows now possible, we should always split touch to also avoid potential security issues about receiving touches outside of your window. If the functionality of rejecting partial gestures is indeed necessary, then it will be introduced via a new flag that's only usable by privileged windows. Bug: 239934827 Test: atest inputflinger_tests Flag: com.android.input.flags.split_all_touches Change-Id: I579651e1309012a6db96730548c12f032c43d88a
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions