summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-10-25 17:15:50 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-11-16 15:28:08 +0000
commitf9a412814bd05546598a7328558165dd24655516 (patch)
tree324316a0bdacaf482f89c9e74ce2fe2927bfd273 /libs/gui/LayerState.cpp
parente562696c7658102f63558be034a2fb7ab158840f (diff)
Dynamically add STYLUS source for multi-touch devices
Since we cannot tell definitively whether a multi-touch device that supports MT_TOOL_TYPE will ever report MT_TOOL_PEN, we default to configuring the source of such a device not not use SOURCE_STYLUS, and it to events dynamically if it ever produces a stylus event. Bug: 246991366 Test: atest inputflinger_tests Change-Id: I70cc15f8f354e3fc876024d194a6f320fabd6d2c
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions