summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Nathaniel R. Lewis <nathaniel.lewis@sony.com> 2020-01-14 11:57:18 -0800
committer Prabir Pradhan <prabirmsp@google.com> 2020-02-12 16:15:05 -0800
commitf4916efbbe6272362c6cabe339a81e394697587f (patch)
tree5f38fc0d5e04b2f741d62504e74cd09b8b8ea470 /libs/gui/BufferQueue.cpp
parent612231d21e2c82f4730dad24dab35ebb22144cd2 (diff)
Refactor InputMapper creation and collection type
Move the creation of InputMappers from InputReader into InputDevice and change the collection type from a vector of raw pointers to a vector of unique_ptrs. Add helper functions for iterating over the mappers data structure. InputDevice::addMapper(...) is preserved for test cases, except rather than taking a bare pointer to a mapper, it creates the mapper, adds it's mapper vector, and returns a reference to this mapper. The unit tests have been updated for this change. Test: atest inputflinger_tests libinput_tests Change-Id: I1e1b69e8bd13dcfa835b2f846fd5cf0d6a4e1719
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions