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

Commit f02fee70 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

Add @SystemApi annotations to ACTION_QUERY_PACKAGE_RESTART and related.

Make Intent.ACTION_QUERY_PACKAGE_RESTART and Intent.EXTRA_PACKAGES
accessible from GmsCore so that location and context components can
properly respond to the broadcast.

BUG: 19298558
Change-Id: I8377db7c347068cfdd534e8f85834674f77d4cf3
parent 98bafbf9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1760,6 +1760,7 @@ public class Intent implements Parcelable, Cloneable {
     * <p class="note">This is a protected intent that can only be sent
     * by the system.
     */
    @SystemApi
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART";
    /**
@@ -3252,6 +3253,7 @@ public class Intent implements Parcelable, Cloneable {
    /**
     * @hide String array of package names.
     */
    @SystemApi
    public static final String EXTRA_PACKAGES = "android.intent.extra.PACKAGES";

    /**