From 5438fb232fb035c4b481db8de527c7fd62a05182 Mon Sep 17 00:00:00 2001 From: lado Date: Tue, 12 Feb 2013 22:22:30 +0100 Subject: Support #1242 --- .../data/db/EPGSearchSuggestionsProvider.java | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 vdrmanager/src/de/bjusystems/vdrmanager/data/db/EPGSearchSuggestionsProvider.java (limited to 'vdrmanager/src') diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/data/db/EPGSearchSuggestionsProvider.java b/vdrmanager/src/de/bjusystems/vdrmanager/data/db/EPGSearchSuggestionsProvider.java new file mode 100644 index 0000000..3ff6162 --- /dev/null +++ b/vdrmanager/src/de/bjusystems/vdrmanager/data/db/EPGSearchSuggestionsProvider.java @@ -0,0 +1,23 @@ +package de.bjusystems.vdrmanager.data.db; + +import android.content.SearchRecentSuggestionsProvider; + +public class EPGSearchSuggestionsProvider extends + SearchRecentSuggestionsProvider { + + + public final static String AUTHORITY = EPGSearchSuggestionsProvider.class.getName(); + + public final static int MODE = DATABASE_MODE_QUERIES;// | DATABASE_MODE_2LINES; + + public EPGSearchSuggestionsProvider() { + setupSuggestions(AUTHORITY, MODE); + } + + + public static enum SecondLine { + EPG, + EPG_SEARCH, + } + +} -- cgit v1.2.3