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

Commit ae8a1710 authored by Zhen Zhang's avatar Zhen Zhang Committed by Kevin Han
Browse files

Add intent for going to "Unused apps"

Create a new intent for launching the unused apps UI page from
outside permission controller module.

Bug: 181172051
Test: Built successfully
Change-Id: I3f601425659a88f20683c0a1b1ab318f2b4e5ecf
parent 402f5476
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10918,6 +10918,7 @@ package android.content {
    field public static final String ACTION_MANAGED_PROFILE_UNLOCKED = "android.intent.action.MANAGED_PROFILE_UNLOCKED";
    field public static final String ACTION_MANAGE_NETWORK_USAGE = "android.intent.action.MANAGE_NETWORK_USAGE";
    field public static final String ACTION_MANAGE_PACKAGE_STORAGE = "android.intent.action.MANAGE_PACKAGE_STORAGE";
    field public static final String ACTION_MANAGE_UNUSED_APPS = "android.intent.action.MANAGE_UNUSED_APPS";
    field public static final String ACTION_MEDIA_BAD_REMOVAL = "android.intent.action.MEDIA_BAD_REMOVAL";
    field public static final String ACTION_MEDIA_BUTTON = "android.intent.action.MEDIA_BUTTON";
    field public static final String ACTION_MEDIA_CHECKING = "android.intent.action.MEDIA_CHECKING";
+14 −0
Original line number Diff line number Diff line
@@ -1900,6 +1900,20 @@ public class Intent implements Parcelable, Cloneable {
    public static final String ACTION_AUTO_REVOKE_PERMISSIONS =
            "android.intent.action.AUTO_REVOKE_PERMISSIONS";

    /**
     * Activity action: Launch UI to manage unused apps (hibernated apps).
     *
     * <p>
     * Input: Nothing.
     * </p>
     * <p>
     * Output: Nothing.
     * </p>
     */
    @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
    public static final String ACTION_MANAGE_UNUSED_APPS =
            "android.intent.action.MANAGE_UNUSED_APPS";

    /**
     * Activity action: Launch UI to review permissions for an app.
     * The system uses this intent if permission review for apps not