Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef340357 authored by Justin Mattson's avatar Justin Mattson
Browse files

NEW_API: Declare an ACTION_SEARCH_SETTINGS constant in...

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.
parent 2fa6b52c
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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"
+14 −0
Original line number Diff line number Diff line
@@ -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";