NEW_API: Declare an ACTION_SEARCH_SETTINGS constant in android.provider.Settings so that apps can cause this system setting group to be opened directly.
The Settings app already responds to this action it just was not exposed in the platform API.
This commit is contained in:
@@ -130644,6 +130644,17 @@
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="ACTION_SEARCH_SETTINGS"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value=""android.search.action.SEARCH_SETTINGS""
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="ACTION_SECURITY_SETTINGS"
|
||||
type="java.lang.String"
|
||||
transient="false"
|
||||
|
||||
@@ -436,6 +436,20 @@ public final class Settings {
|
||||
public static final String ACTION_MEMORY_CARD_SETTINGS =
|
||||
"android.settings.MEMORY_CARD_SETTINGS";
|
||||
|
||||
/**
|
||||
* Activity Action: Show settings for global search.
|
||||
* <p>
|
||||
* In some cases, a matching Activity may not exist, so ensure you
|
||||
* safeguard against this.
|
||||
* <p>
|
||||
* Input: Nothing.
|
||||
* <p>
|
||||
* Output: Nothing
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||
public static final String ACTION_SEARCH_SETTINGS =
|
||||
"android.search.action.SEARCH_SETTINGS";
|
||||
|
||||
// End of Intent actions for Settings
|
||||
|
||||
private static final String JID_RESOURCE_PREFIX = "android";
|
||||
|
||||
Reference in New Issue
Block a user