diff options
author | 2022-10-25 17:15:50 +0000 | |
---|---|---|
committer | 2022-11-16 15:28:08 +0000 | |
commit | f9a412814bd05546598a7328558165dd24655516 (patch) | |
tree | 324316a0bdacaf482f89c9e74ce2fe2927bfd273 /libs/gui/LayerState.cpp | |
parent | e562696c7658102f63558be034a2fb7ab158840f (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