diff options
| author | Tadashi G. Takaoka <takaoka@google.com> | 2014-10-07 09:49:38 +0900 |
|---|---|---|
| committer | Tadashi G. Takaoka <takaoka@google.com> | 2014-10-15 09:19:12 +0000 |
| commit | 97f11e1c34eef659c69138d39346710f037e563f (patch) | |
| tree | 673d7f37832dcee958643d7bdfb1ea60424c4a20 | |
| parent | 913f814641732ac243f823431d3dfeac2a6e646f (diff) | |
(DO NOT MERGE) Fix sample SoftKeyboard preference activity
(cherry picked from Master, commit 8359ac20a5af85a67207ab543a70d240a2c56450)
Bug: 17887760
Change-Id: Ibe7d1f2b9189ecee7867a2448790eddb151bd61a
| -rw-r--r-- | samples/SoftKeyboard/src/com/example/android/softkeyboard/ImePreferences.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/samples/SoftKeyboard/src/com/example/android/softkeyboard/ImePreferences.java b/samples/SoftKeyboard/src/com/example/android/softkeyboard/ImePreferences.java index db6c1d984..14c67b70d 100644 --- a/samples/SoftKeyboard/src/com/example/android/softkeyboard/ImePreferences.java +++ b/samples/SoftKeyboard/src/com/example/android/softkeyboard/ImePreferences.java @@ -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) { |
