diff options
author | Yohei Yukawa <yukawa@google.com> | 2018-11-20 19:25:23 -0800 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2018-11-20 19:25:23 -0800 |
commit | ac9311eb15f27027883cbc05468e79ca1010ee37 (patch) | |
tree | b21a1204b37def6febce058d1e0d6bea6480d0df /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7a712372d2f8667ea14a31ed74ff775ac1be4650 (diff) |
Use ArrayMap instead of HashMap for IMMS#mClients
With this CL, InputMethodManagerService#mClients is implemented with
ArrayMap instead of HashMap, which should give us a bit better memory
consumption including value enumeration without iterator objects.
One possible observable behavior change in this CL would be the order
of IME clients shown in 'adb shell dumpsys input_method'. This should
be OK because that output is used only for debugging purpose.
Bug: 119839847
Test: No error in 'adb shell dumpsys input_method'
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Iadbe64d92d39b28338e23c5e16be44b7597deee0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions