diff options
| author | Zhen Zhang <zzhen@google.com> | 2021-03-05 18:42:59 -0800 |
|---|---|---|
| committer | Kevin Han <kevhan@google.com> | 2021-03-11 15:41:53 -0800 |
| commit | ae8a171027386a667aa4bcc83b6f64bd44d0133c (patch) | |
| tree | 715f55c634941b9cd92ffbfc81bc2fac6869c812 /core/java | |
| parent | 402f5476fc29693b7ff5f8b10ce19924124e943d (diff) | |
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
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/content/Intent.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index d352b273f882..a7a3abdfc027 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -1901,6 +1901,20 @@ public class Intent implements Parcelable, Cloneable { "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 * supporting the new runtime permissions model is enabled. In |
