2012-02-26 21:25:13 +01:00
|
|
|
/*
|
|
|
|
This file is part of Subsonic.
|
|
|
|
|
|
|
|
Subsonic is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Subsonic is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Subsonic. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
Copyright 2010 (C) Sindre Mehus
|
|
|
|
*/
|
2013-04-06 21:47:24 +02:00
|
|
|
package com.thejoshwa.ultrasonic.androidapp.provider;
|
2012-02-26 21:25:13 +01:00
|
|
|
|
|
|
|
import android.content.SearchRecentSuggestionsProvider;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Provides search suggestions based on recent searches.
|
|
|
|
*
|
|
|
|
* @author Sindre Mehus
|
|
|
|
*/
|
|
|
|
public class SearchSuggestionProvider extends SearchRecentSuggestionsProvider {
|
|
|
|
|
|
|
|
public static final String AUTHORITY = SearchSuggestionProvider.class.getName();
|
|
|
|
public static final int MODE = DATABASE_MODE_QUERIES;
|
|
|
|
|
|
|
|
public SearchSuggestionProvider() {
|
|
|
|
setupSuggestions(AUTHORITY, MODE);
|
|
|
|
}
|
|
|
|
}
|