commit | e8da2d3a48ac87760fbf89a7dc2c6fe3c28546c1 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Tue Aug 18 12:15:28 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Sun Aug 30 15:41:24 2020 -0700 |
tree | 76a070e886e829f57b20687415173b49f58871dd | |
parent | dc275f8c2a7c2814cfab8372abd5d90993a427e2 [diff] |
Move KeyCharacterMap from RefBase to shared_ptr. Move KeyCharacterMap from RefBase and make it shared_ptr in it's owner class like EventHub and InputDeviceInfo. When loaded from file, KeyCharacterMap as shared_ptr is stored in both InputDeviceInfo and EventHub device. Bug: 160010896 Test: atest inputflinger, atest libinput_tests Change-Id: Ib3c489c3e87e04d68e4681994e430e43aa46164b