summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2020-01-27 10:44:40 -0600
committer Siarhei Vishniakou <svv@google.com> 2020-01-28 11:31:50 -0600
commit3826d47fa79b505683c20317fa1b8dafb0c8bd39 (patch)
tree90ea81df676d5d02729ec2381efa2864ef9990bd /libs/gui/BufferQueueThreadState.cpp
parent57c509e73c4b9fff8c223a7a780debb887fdec4f (diff)
Use uint32_t for input source
The input source type originates from EventHub as an unsigned integer. But later, it somehow becomes a signed value. Even the InputListeners specify the source as uint32_t. To maintain the consistency prior to adding new API that would again use source, convert the source to uint32_t. This also helps remove some static_casts, as well as ensures that the order of input arguments is harder to confuse. Bug: 134977432 Test: atest libinput_tests inputflinger_tests inputflinger_benchmarks Change-Id: Iba10da08ee3a1004d50827785f570dab72a919d1
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions