diff options
| author | 2021-03-15 18:51:19 +0000 | |
|---|---|---|
| committer | 2021-03-15 18:51:19 +0000 | |
| commit | 2e810b5d1ea5d6152c7f9c0742fce37e4245d7b6 (patch) | |
| tree | 7dd33db8ebfdd1e191597cbd5367293062878019 | |
| parent | 86514a9bc187d741ef2094083af279f6dab02bf1 (diff) | |
| parent | ae8a171027386a667aa4bcc83b6f64bd44d0133c (diff) | |
Merge "Add intent for going to "Unused apps"" into sc-dev
| -rw-r--r-- | core/api/current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/content/Intent.java | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/core/api/current.txt b/core/api/current.txt index 63e35f11ecea..bca2e92d43c3 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -10961,6 +10961,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"; diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index c601aabb582b..5cf83acd9a75 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 |