From ef340357cefeee452403a77c2b6c1aa01c239d6b Mon Sep 17 00:00:00 2001 From: Justin Mattson Date: Wed, 13 Jan 2010 21:05:46 -0800 Subject: [PATCH] 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. --- api/current.xml | 11 +++++++++++ core/java/android/provider/Settings.java | 14 ++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/api/current.xml b/api/current.xml index ee7d330829f10..01ff582aac77d 100644 --- a/api/current.xml +++ b/api/current.xml @@ -130644,6 +130644,17 @@ visibility="public" > + + + * In some cases, a matching Activity may not exist, so ensure you + * safeguard against this. + *

+ * Input: Nothing. + *

+ * 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";