Refine InputMethodInfo API
bug: 3370297 Change-Id: Ifaaad399586ee5b842f9b7762281d76e7969d24c
This commit is contained in:
@@ -218,7 +218,7 @@ public class InputMethodConfig extends SettingsPreferenceFragment {
|
||||
// Add subtype settings when this IME has two or more subtypes.
|
||||
PreferenceScreen prefScreen = new PreferenceScreen(getActivity(), null);
|
||||
prefScreen.setTitle(R.string.active_input_method_subtypes);
|
||||
if (imi.getSubtypes().size() > 1) {
|
||||
if (imi.getSubtypeCount() > 1) {
|
||||
intent = new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS);
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
|
||||
|
Reference in New Issue
Block a user