am 96680f28: Use integer value instead of symbolic name for os version
* commit '96680f28e8e647307f0222500a59eb31ff463236': Use integer value instead of symbolic name for os versionmain
commit
bb4fc71bb9
|
@ -181,7 +181,8 @@ public class Settings extends PreferenceActivity
|
||||||
public boolean onPreferenceClick(Preference pref) {
|
public boolean onPreferenceClick(Preference pref) {
|
||||||
if (pref == mInputLanguageSelection) {
|
if (pref == mInputLanguageSelection) {
|
||||||
final String action;
|
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";
|
action = "android.settings.INPUT_METHOD_AND_SUBTYPE_ENABLER";
|
||||||
} else {
|
} else {
|
||||||
action = "com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION";
|
action = "com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION";
|
||||||
|
|
Loading…
Reference in New Issue