diff options
author | 2024-07-15 18:11:27 +0000 | |
---|---|---|
committer | 2024-07-16 20:43:15 +0000 | |
commit | 9b849a7186bb052756b737e2e35b2e4d60a69b25 (patch) | |
tree | 53a7ddd20cf927c5f75adc3764c7d9df6b505a97 /libs/binder/BackendUnifiedServiceManager.cpp | |
parent | 4fd5fe07ba873f5cbb62d4f9eb6ffb260d42cd45 (diff) |
Handle non-split pointers for multi-device case
During multi-device event stream, tempTouchState will already contain
some pointers from another case. When the second device becomes active
and tries to add pointers to a non-splitting window, we should not be
marking that pointer as going to the second window unless it's already
receiving pointers for that device.
Merge conflict resolutiion: added a bunch of helper functions for
matching the properties of motionevent that are present internally, but
missing in the aosp code.
Fixes: 341869464
Flag: EXEMPT bugfix
Test: TEST=inputflinger_tests; m $TEST && $ANDROID_HOST_OUT/nativetest64/$TEST/$TEST
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:962044645a27baaaf9d7736f76c6c252aa82c419)
Merged-In: Ia295c1d9d941383792e90a3d6fd981473af8f015
Change-Id: Ia295c1d9d941383792e90a3d6fd981473af8f015
Change-Id: Id36abc7b5ea01ea3445ca7c6dec30ab426a90bf7
Diffstat (limited to 'libs/binder/BackendUnifiedServiceManager.cpp')
0 files changed, 0 insertions, 0 deletions