| commit | 3a1e446866d905223e731cf1319f41152cd629c3 | [log] [tgz] |
|---|---|---|
| author | Chris Ye <lzye@google.com> | Wed Aug 12 10:13:15 2020 -0700 |
| committer | Chris Ye <lzye@google.com> | Fri Aug 28 22:39:47 2020 -0700 |
| tree | 164bd13d0aaa6f72691d2c130b7f2f990c8bfe4b | |
| parent | 1abffbd101f77f100789dc7fb8b33f729bb64dc9 [diff] |
Move KeyCharacterMap from RefBase to shared_ptr. Move KeyCharacterMap from RefBase and make it shared_ptr in EventHub device when loaded from file. A shared_ptr of KeyCharacterMap is returned by EventHub getKeyCharacterMap to be shared in InputdeviceInfo. Remove extra KeyCharacterMap in EventHub to save memory sapce. Bug: 160010896 Test: atest inputflinger, atest libinput_tests Change-Id: Ibb317ea0684e6af6e7a6d808f816fc4a05c7b421