summaryrefslogtreecommitdiff
path: root/vdrmanager/src
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2014-02-14 14:00:23 +0100
committerlado <herrlado@gmail.com>2014-02-14 14:00:23 +0100
commitd997f44f0376d4fed941b587bb2f77fb2de9aed4 (patch)
tree3d8ca102e268a310106b12d90046eb73485e7eea /vdrmanager/src
parent67f129209ba6dea71e0576a84bd6580e923975b0 (diff)
downloadvdr-manager-d997f44f0376d4fed941b587bb2f77fb2de9aed4.tar.gz
vdr-manager-d997f44f0376d4fed941b587bb2f77fb2de9aed4.tar.bz2
http://projects.vdr-developer.org/issues/1706
Diffstat (limited to 'vdrmanager/src')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java8
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;
+ }
}