summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2018-11-16 11:24:35 -0800
committer Siarhei Vishniakou <svv@google.com> 2018-11-16 13:13:38 -0800
commitad71ad0910b6b3c95d623ae6b06ce00b20ffe261 (patch)
tree1f5e78b1823f8c886332cb447d6a9e28798984c7 /libs/gui/BufferQueueThreadState.cpp
parentce02296727b427fc82b67f11ffae3d89f3cfc601 (diff)
Simplify process(..) in InputReader_test
The call to process(..) already includes a mapper as a parameter. An InputMapper is always associated with exactly one InputDevice. As a result, when the mapper processes a RawEvent, it really shouldn't care about deviceId anymore. For completeness, we populate the device id from the mapper's getDeviceId() function. This allows the calls to be simplified throughout the code. Test: atest inputflinger_tests Bug: none Change-Id: I85824629044c13da8486c3c0e9fcf3550b957cd7
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions