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:
@@ -23743,6 +23743,28 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="INTENT_ACTION_SEARCHABLES_CHANGED"
|
||||||
|
type="java.lang.String"
|
||||||
|
transient="false"
|
||||||
|
volatile="false"
|
||||||
|
value=""android.search.action.SEARCHABLES_CHANGED""
|
||||||
|
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=""android.search.action.SETTINGS_CHANGED""
|
||||||
|
static="true"
|
||||||
|
final="true"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</field>
|
||||||
<field name="INTENT_ACTION_WEB_SEARCH_SETTINGS"
|
<field name="INTENT_ACTION_WEB_SEARCH_SETTINGS"
|
||||||
type="java.lang.String"
|
type="java.lang.String"
|
||||||
transient="false"
|
transient="false"
|
||||||
|
|||||||
@@ -1494,12 +1494,18 @@ public class SearchManager
|
|||||||
* Intent action broadcasted to inform that the searchables list or default have changed.
|
* 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
|
* Components should handle this intent if they cache any searchable data and wish to stay
|
||||||
* up to date on changes.
|
* up to date on changes.
|
||||||
*
|
|
||||||
* @hide Pending API council approval.
|
|
||||||
*/
|
*/
|
||||||
public final static String INTENT_ACTION_SEARCHABLES_CHANGED
|
public final static String INTENT_ACTION_SEARCHABLES_CHANGED
|
||||||
= "android.search.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},
|
* If a suggestion has this value in {@link #SUGGEST_COLUMN_INTENT_ACTION},
|
||||||
* the search dialog will take no action.
|
* the search dialog will take no action.
|
||||||
|
|||||||
Reference in New Issue
Block a user