mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am bb4fc71b: am 96680f28: Use integer value instead of symbolic name for os version
* commit 'bb4fc71bb9b13511da2b863039441642f3208668': Use integer value instead of symbolic name for os version
This commit is contained in:
commit
5f0aaedc08
@ -181,7 +181,8 @@ public class Settings extends PreferenceActivity
|
||||
public boolean onPreferenceClick(Preference pref) {
|
||||
if (pref == mInputLanguageSelection) {
|
||||
final String action;
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.HONEYCOMB) {
|
||||
if (android.os.Build.VERSION.SDK_INT
|
||||
>= /* android.os.Build.VERSION_CODES.HONEYCOMB */ 10) {
|
||||
action = "android.settings.INPUT_METHOD_AND_SUBTYPE_ENABLER";
|
||||
} else {
|
||||
action = "com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION";
|
||||
|
Loading…
x
Reference in New Issue
Block a user