Merge "Fix subtype settings activity string"

main
Ken Wakasa 2011-01-31 08:24:53 -08:00 committed by Android (Google) Code Review
commit eaa091da78
1 changed files with 3 additions and 1 deletions

View File

@ -225,7 +225,9 @@ public class Settings extends PreferenceActivity
final String action;
if (android.os.Build.VERSION.SDK_INT
>= /* android.os.Build.VERSION_CODES.HONEYCOMB */ 11) {
action = "android.settings.INPUT_METHOD_AND_SUBTYPE_ENABLER";
// Refer to android.provider.Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS
// TODO: Can this be a constant instead of literal String constant?
action = "android.settings.INPUT_METHOD_SUBTYPE_SETTINGS";
} else {
action = "com.android.inputmethod.latin.INPUT_LANGUAGE_SELECTION";
}