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:
Justin Mattson
2010-01-13 21:05:46 -08:00
parent 2fa6b52c2b
commit ef340357ce
2 changed files with 25 additions and 0 deletions

View File

@@ -130644,6 +130644,17 @@
visibility="public"
>
</field>
<field name="ACTION_SEARCH_SETTINGS"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;android.search.action.SEARCH_SETTINGS&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="ACTION_SECURITY_SETTINGS"
type="java.lang.String"
transient="false"

View File

@@ -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";