From d997f44f0376d4fed941b587bb2f77fb2de9aed4 Mon Sep 17 00:00:00 2001 From: lado Date: Fri, 14 Feb 2014 14:00:23 +0100 Subject: http://projects.vdr-developer.org/issues/1706 --- vdrmanager/src/de/bjusystems/vdrmanager/data/Preferences.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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; + } } -- cgit v1.2.3