diff options
| author | Yi-an Chen <theianchen@google.com> | 2021-03-13 01:09:34 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-03-13 01:09:34 +0000 |
| commit | 27328673c09d4bab53f76db801f4181e3e5d2fe8 (patch) | |
| tree | 66fc44b35f04bac1e29c37279cc12a246b0a964e /core/java/android/content/Intent.java | |
| parent | 75eb6d76438497750627093bd689e20b9627704c (diff) | |
| parent | c064bc738fe1877450e9c2cf1d637c1481a06a57 (diff) | |
Merge "Add the intent for showing permission history" into sc-dev
Diffstat (limited to 'core/java/android/content/Intent.java')
| -rw-r--r-- | core/java/android/content/Intent.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 04f93ca6991b..c601aabb582b 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2172,6 +2172,29 @@ public class Intent implements Parcelable, Cloneable { "android.intent.action.REVIEW_PERMISSION_USAGE"; /** + * Activity action: Launch UI to review the timeline history of permissions. + * <p> + * Input: {@link #EXTRA_PERMISSION_GROUP_NAME} specifies the permission group name + * that will be displayed by the launched UI. + * </p> + * <p> + * Output: Nothing. + * </p> + * <p class="note"> + * This requires {@link android.Manifest.permission#GRANT_RUNTIME_PERMISSIONS} permission. + * </p> + * + * @see #EXTRA_PERMISSION_GROUP_NAME + * + * @hide + */ + @SystemApi + @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_REVIEW_PERMISSION_HISTORY = + "android.intent.action.REVIEW_PERMISSION_HISTORY"; + + /** * Activity action: Launch UI to review ongoing app uses of permissions. * <p> * Input: {@link #EXTRA_DURATION_MILLIS} specifies the minimum number of milliseconds of recent |
