Merge change 7970 into donut

* changes:
  Define a broadcast intent for the web search provider changing. Unhide the broadcast intent for searchables changing.
This commit is contained in:
Android (Google) Code Review
2009-07-20 17:48:25 -07:00
2 changed files with 30 additions and 2 deletions

View File

@@ -23743,6 +23743,28 @@
visibility="public"
>
</field>
<field name="INTENT_ACTION_SEARCHABLES_CHANGED"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.search.action.SEARCHABLES_CHANGED&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="INTENT_ACTION_SEARCH_SETTINGS_CHANGED"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.search.action.SETTINGS_CHANGED&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="INTENT_ACTION_WEB_SEARCH_SETTINGS"
type="java.lang.String"
transient="false"

View File

@@ -1494,11 +1494,17 @@ public class SearchManager
* Intent action broadcasted to inform that the searchables list or default have changed.
* Components should handle this intent if they cache any searchable data and wish to stay
* up to date on changes.
*
* @hide Pending API council approval.
*/
public final static String INTENT_ACTION_SEARCHABLES_CHANGED
= "android.search.action.SEARCHABLES_CHANGED";
/**
* Intent action broadcasted to inform that the search settings have changed in some way.
* Either searchables have been enabled or disabled, or a different web search provider
* has been chosen.
*/
public final static String INTENT_ACTION_SEARCH_SETTINGS_CHANGED
= "android.search.action.SETTINGS_CHANGED";
/**
* If a suggestion has this value in {@link #SUGGEST_COLUMN_INTENT_ACTION},