summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-11-17 01:06:01 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-11-17 02:09:17 +0000
commit5d0d97d0433d16d354befd7b0544637e93229b56 (patch)
treece588e3521c0d48b9e74e2ba1324c75b53b791cf /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent658e4e3c8514db338436616c13c583abcf366370 (diff)
Dynamically add STYLUS source for multi-touch devices - part 2
This is a follow-up to I70cc15f8f354e3fc876024d194a6f320fabd6d2c. The previous change added SOURCE_STYLUS to events dynamically if they came from a stylus tool type. In this change, we instead dynamically add SOURCE_STYLUS to the InputDevice whenever it produces an MT_TOOL_PEN event. This means all the events generated by that device will have SOURCE_STYLUS added to it from that point onwards. Bug: 246991366 Test: atest inputflinger_tests Change-Id: I61963563eb4cdd41957247db100fcb87cc1b278b
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions