diff options
author | lado <herrlado@gmail.com> | 2014-02-14 14:00:23 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2014-02-14 14:00:23 +0100 |
commit | d997f44f0376d4fed941b587bb2f77fb2de9aed4 (patch) | |
tree | 3d8ca102e268a310106b12d90046eb73485e7eea | |
parent | 67f129209ba6dea71e0576a84bd6580e923975b0 (diff) | |
download | vdr-manager-d997f44f0376d4fed941b587bb2f77fb2de9aed4.tar.gz vdr-manager-d997f44f0376d4fed941b587bb2f77fb2de9aed4.tar.bz2 |
http://projects.vdr-developer.org/issues/1706
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java b/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java index 38ce1d0..7a63af5 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java @@ -101,6 +101,8 @@ public class Preferences { private boolean showTmdbButton = false; private int maxRecentChannels = 10; + + private boolean clearTermAfterSearch = false; public int getMaxRecentChannels() { return maxRecentChannels; @@ -518,6 +520,8 @@ public class Preferences { prefs.maxRecentChannels = getInt(context, R.string.gui_max_recent_channels_key, 10); + + prefs.clearTermAfterSearch = getBoolean(context, R.string.clear_term_after_search_key, false); thePrefs = prefs; } @@ -770,4 +774,8 @@ public class Preferences { config.locale = locale; context.getResources().updateConfiguration(config, null); } + + public boolean isClearTermAfterSearch() { + return clearTermAfterSearch; + } } |