Remove Collator from InputMethodSubtypePreference

Change-Id: Id1eb16aee77460c5c930ad08e1354501bfd0b5ab
This commit is contained in:
Tadashi G. Takaoka
2014-07-12 15:55:05 +09:00
parent 47a359a7da
commit 55aee12406
3 changed files with 33 additions and 38 deletions

View File

@@ -231,6 +231,9 @@ class InputMethodPreference extends SwitchPreference implements OnPreferenceClic
}
int compareTo(final InputMethodPreference rhs, final Collator collator) {
if (this == rhs) {
return 0;
}
if (mHasPriorityInSorting == rhs.mHasPriorityInSorting) {
final CharSequence t0 = getTitle();
final CharSequence t1 = rhs.getTitle();