summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.cpp
diff options
context:
space:
mode:
author Brad Hinegardner <bhinegardner@google.com> 2024-08-27 09:26:25 -0400
committer Brad Hinegardner <bhinegardner@google.com> 2024-09-05 14:27:22 -0400
commite1c367ebf2c67863502c19265940856a623cbf24 (patch)
tree31b6e9de6beb30a7f49f43d91d6facbab91bc67b /libs/hwui/HardwareBitmapUploader.cpp
parent465d11f82188b1a9c31efeded78444fd9b2580dc (diff)
Skip falsing on non-touchscreen device sources
Previously we were analyzing the motion event classification to determine if the device was an accurate tool (stylus, touchpad, etc) in order to skip falsing. Instead, we should perform the inverse, and can make the determination that if the device source does not support SOURCE_TOUCHSCREEN, then falsing should not be run as there is minimal risk of accidental touches Additionally, we should not delay processing of MotionEvents on these types of input. Bug: 319809270 Test: manual - tested on tablet with trackpad attached Test: manual - tested on tablet with mouse attached Test: atest FalsingDataProviderTest.java Flag: com.android.systemui.non_touchscreen_devices_bypass_falsing Change-Id: Ie73e5da63452d2b5e15ed830c0a94f03718137a5
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions