summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-11-20 17:32:24 -0800
committerYohei Yukawa <yukawa@google.com>2018-11-20 17:32:24 -0800
commit7eee18151a881b44841a68c2c42aba7a3eedab92 (patch)
tree558a8eb414d85c72e3e3830ed91b1b799a2b556d /tools/aapt2/java/JavaClassGenerator.cpp
parentcf3bbffa899437f028a0da5092f20a93b9a3b96a (diff)
Unextract getExplicitlyOrImplicitlyEnabledInputMethodsAndSubtypeListLocked()
By un-extracting it, we no longer need to instantiate HashMap just to pass data from InputMethodSettings to InputMethodAndSubtypeList. This also helps us elimicate the use of HashMap/HashSet in com.android.server.inputmethod (Bug 119839847). This is a mechanical refactoring. There should be no user-visible behavior change. Fix: 119837138 Test: Manually verified as follows: 1. Open Settings. 2. Go to System -> Languages & input -> Languages 3. Tap "Add a language" 4. Select "Afrikaans" -> Suid-Afrika 5. make -j SoftKeyboard 6. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk 7. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard 8. Tap the keyboard icon on the navigation bar. 9. Make sure that items are sorted in the following order: * English (US) - Android Keyboard (AOSP) * Afrikaans - Android Keyboard (AOSP) * English (United States) - Sample Soft Keyboard Change-Id: I0444b9bd82f63bbca1841144f5c02b0b34acc807
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions