Call InputMethodSubtypePicker instead of InputMethodPicker
Change-Id: I7c29285f4fd304d08bfd8f5f72df3fc421090681main
parent
ff4d21bd29
commit
7af745e6f6
|
@ -1138,9 +1138,9 @@ public class LatinIME extends InputMethodService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showInputMethodPicker() {
|
private void showInputMethodSubtypePicker() {
|
||||||
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE))
|
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE))
|
||||||
.showInputMethodPicker();
|
.showInputMethodSubtypePicker();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onOptionKeyPressed() {
|
private void onOptionKeyPressed() {
|
||||||
|
@ -1156,7 +1156,7 @@ public class LatinIME extends InputMethodService
|
||||||
private void onOptionKeyLongPressed() {
|
private void onOptionKeyLongPressed() {
|
||||||
if (!isShowingOptionDialog()) {
|
if (!isShowingOptionDialog()) {
|
||||||
if (LatinIMEUtil.hasMultipleEnabledIMEs(this)) {
|
if (LatinIMEUtil.hasMultipleEnabledIMEs(this)) {
|
||||||
showInputMethodPicker();
|
showInputMethodSubtypePicker();
|
||||||
} else {
|
} else {
|
||||||
launchSettings();
|
launchSettings();
|
||||||
}
|
}
|
||||||
|
@ -2575,8 +2575,7 @@ public class LatinIME extends InputMethodService
|
||||||
launchSettings();
|
launchSettings();
|
||||||
break;
|
break;
|
||||||
case POS_METHOD:
|
case POS_METHOD:
|
||||||
((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE))
|
showInputMethodSubtypePicker();
|
||||||
.showInputMethodPicker();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue