Merge "Fix sample SoftKeyboard preference activity"

This commit is contained in:
Tadashi G. Takaoka
2014-10-08 15:26:56 +00:00
committed by Android (Google) Code Review

View File

@@ -41,6 +41,11 @@ public class ImePreferences extends PreferenceActivity {
setTitle(R.string.settings_name);
}
@Override
protected boolean isValidFragment(final String fragmentName) {
return Settings.class.getName().equals(fragmentName);
}
public static class Settings extends InputMethodSettingsFragment {
@Override
public void onCreate(Bundle savedInstanceState) {