summaryrefslogtreecommitdiff
path: root/libs/jpegrecoverymap/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-10-27 20:30:53 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-11-16 15:28:08 +0000
commite562696c7658102f63558be034a2fb7ab158840f (patch)
tree18ab2137cd4a640b68814d90f11b066f5c53a4db /libs/jpegrecoverymap/jpegencoderhelper.cpp
parent3f7545f4e6b09f652bb80807e177e381cf39ad9f (diff)
Input: Add isStylusToolType() utility function
Using this utility function will ensure we don't forget to check for both TOOL_TYPE_STYLUS and TOOL_TYPE_ERASER when we are looking to identify a stylus. This will cause a behavior change in UnwantedInteractionBlocker, where TOOL_TYPE_ERASER was not previously considered a stylus tool. Bug: None Test: atest inputflinger_tests Change-Id: I3dae9b5037d7ac08a5672c6e4d6e3b62ee2bd352
Diffstat (limited to 'libs/jpegrecoverymap/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions