summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2022-10-26 15:22:19 +0000
committer Harry Cutts <hcutts@google.com> 2022-10-27 10:59:18 +0000
commit16a24cc68aecf8f5b29efb1ef9420b3060559446 (patch)
tree9e962a80949b00bb28d43f106bcb2d1cea07f206 /libs/gui/LayerDebugInfo.cpp
parent6278ca243f9a154e86714e79198ffc51ea4266fe (diff)
Use both mouse and touchpad sources for touchpads
Previously, touchpads only used `SOURCE_MOUSE`, unless they were captured, in which case they only used `SOURCE_TOUCHPAD`. This made it hard to distinguish connected touchpads from mice, e.g. when deciding whether to display touchpad-specific settings. With this change, uncaptured touchpads will have `SOURCE_MOUSE | SOURCE_TOUCHPAD`. Bug: 245929943 Test: Check output of `dumpsys input` Test: Check sources of incoming touchpad `MotionEvent`s in a test app Test: atest inputflinger_tests Change-Id: I74a75db63b7be211ad247b0c9c6c6b28853a4df8
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions