diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-08 14:55:39 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-08 14:55:39 -0700 |
commit | ed3b804f2cc61029cf2969cbfa499ea230c22bb0 (patch) | |
tree | e4c1000b22bdcb520b14864a1e6beba8647a70d5 /core/java | |
parent | c39aae0ee060b4ff54ba0ab37fd1925ce191f013 (diff) | |
parent | b619c9198efa0108a692d352b0e7eaa534f922f3 (diff) | |
download | frameworks_base-ed3b804f2cc61029cf2969cbfa499ea230c22bb0.zip frameworks_base-ed3b804f2cc61029cf2969cbfa499ea230c22bb0.tar.gz frameworks_base-ed3b804f2cc61029cf2969cbfa499ea230c22bb0.tar.bz2 |
Merge change 1276 into donut
* changes:
Define mime type for shortcut validation path.
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/app/SearchManager.java | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/core/java/android/app/SearchManager.java b/core/java/android/app/SearchManager.java index 90de40d..3bf37c3 100644 --- a/core/java/android/app/SearchManager.java +++ b/core/java/android/app/SearchManager.java @@ -1184,23 +1184,32 @@ public class SearchManager public final static String SUGGEST_URI_PATH_QUERY = "search_suggest_query"; /** + * MIME type for suggestions data. You'll use this in your suggestions content provider + * in the getType() function. + */ + public final static String SUGGEST_MIME_TYPE = + "vnd.android.cursor.dir/vnd.android.search.suggest"; + + /** * Uri path for shortcut validation. This is the path that the search manager will use when * querying your content provider to refresh a shortcutted suggestion result and to check if it * is still valid. When asked, a source may return an up to date result, or no result. No * result indicates the shortcut refers to a no longer valid sugggestion. * * @see #SUGGEST_COLUMN_SHORTCUT_ID - * @hide + * + * @hide pending API council approval */ public final static String SUGGEST_URI_PATH_SHORTCUT = "search_suggest_shortcut"; /** - * MIME type for suggestions data. You'll use this in your suggestions content provider + * MIME type for shortcut validation. You'll use this in your suggestions content provider * in the getType() function. + * + * @hide pending API council approval */ - public final static String SUGGEST_MIME_TYPE = - "vnd.android.cursor.dir/vnd.android.search.suggest"; - + public final static String SHORTCUT_MIME_TYPE = + "vnd.android.cursor.item/vnd.android.search.suggest"; /** * Column name for suggestions cursor. <i>Unused - can be null or column can be omitted.</i> */ |