am 97f11e1c: (DO NOT MERGE) Fix sample SoftKeyboard preference activity

* commit '97f11e1c34eef659c69138d39346710f037e563f':
  (DO NOT MERGE) Fix sample SoftKeyboard preference activity
This commit is contained in:
Tadashi G. Takaoka
2014-10-15 16:30:22 +00:00
committed by Android Git Automerger

View File

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