summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2017-02-08 15:12:13 +0900
committerTadashi G. Takaoka <takaoka@google.com>2017-02-09 12:30:03 +0900
commit61dd99b67421bd76e0b58599333e93a315cc1017 (patch)
treebdbd3a3c775821893a53860336224ba19bb63b05 /tools/aapt2/diff/Diff.cpp
parent5a0d21156d4b74cc2a0772701a17a84e8a5051ae (diff)
Fix ImeSubtypeListItem ordering
The previous CL (I47f902cc8f) fixed ImeSubtypeListItem.compareTo() is compliant to Comparable#compareTo(T) (Bug 34255739) and introduced the following order of comparing ImeSubtypeListItem fields. 1. ImeSubtypeListItem#mImeName 2. ImeSubtypeListItem#mSubtypeName 3. ImeSubtypeListItem#mIsSystemLocale 4. ImeSubtypeListItem#mIsSystemLanguage But it didn't keep the previous ordering (Bug 34821121). This CL fixes the order of comparing ImeSubtypeListItem fields as compatible as ones before I47f902cc8f. 1. ImeSubtypeListItem#mImeName 2. ImeSubtypeListItem#mIsSystemLocale 3. ImeSubtypeListItem#mIsSystemLanguage 4. ImeSubtypeListItem#mSubtypeName Bug: 34255739 Fixes: 34821121 Test: Install FramewroksCoreTests.apk and run InputMethodSubtypeSwitchingControllerTest and verify all tests passed. Change-Id: I813403fd29c5c52a3ca375174ec4b95e4b5433f2
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions