Fix Input options dialog
bug: 3387860 Change-Id: I81e57ca08e07e4c2a68196ca173b764c40fbeb17main
parent
e5ce433a9e
commit
aa0458f917
|
@ -2224,9 +2224,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
di.dismiss();
|
di.dismiss();
|
||||||
switch (position) {
|
switch (position) {
|
||||||
case 0:
|
case 0:
|
||||||
launchSettings();
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
Intent intent = new Intent(
|
Intent intent = new Intent(
|
||||||
android.provider.Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS);
|
android.provider.Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS);
|
||||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||||
|
@ -2236,6 +2233,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
mInputMethodId);
|
mInputMethodId);
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
break;
|
break;
|
||||||
|
case 1:
|
||||||
|
launchSettings();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue