From c37cb2469578f7d240615affb042e808b32ba5b2 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Wed, 24 Feb 2010 17:44:46 -0800 Subject: [PATCH] Feature to return an extra in the cursor that keeps the spinny going. If a search provider returns an extra in the cursor with the key SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS, and the value true, then the spinny in the search dialog will not stop, but the cursor contents will still be used to update the results. This way, partial search results can be sent while the user is informed that the search is still in progress. --- api/current.xml | 11 ++++ core/java/android/app/SearchManager.java | 8 +++ core/java/android/app/SuggestionsAdapter.java | 52 ++++++++++++++++--- 3 files changed, 64 insertions(+), 7 deletions(-) diff --git a/api/current.xml b/api/current.xml index 1f7be9ed9d957..eae20e7764ba5 100644 --- a/api/current.xml +++ b/api/current.xml @@ -24220,6 +24220,17 @@ visibility="public" > + +