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
This commit is contained in:
Zhen Zhang
2021-03-05 18:42:59 -08:00
committed by Kevin Han
parent 402f5476fc
commit ae8a171027
2 changed files with 15 additions and 0 deletions

View File

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

View File

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