commit | 0cab12d4d25fb809ab333f03266682af97647ab7 | [log] [tgz] |
---|---|---|
author | Nathaniel R. Lewis <nathaniel.lewis@sony.com> | Tue Nov 05 02:17:02 2019 +0000 |
committer | Prabir Pradhan <prabirmsp@google.com> | Wed Feb 19 14:56:58 2020 -0800 |
tree | 12c0b12002d45fc19d0eef16a32e9776ac661bac | |
parent | 69e5b37e908c37193cb129bd725759cd905b211a [diff] |
Change InputReader::mDevices collection type Convert InputReader::mDevices from unordered_map of bare pointers to unordered_map of shared_ptr's. This removes the need for manual deletion of InputDevice instances and prepares for a future patch which will have multiple device ids pointing to the same InputDevice. Cherry-picked from pa/1497945. Bug: 38511270 Test: atest inputflinger_tests libinput_tests Change-Id: I0f3bfd96bfe5904ce1a8d96813e45f8467cee0fa