diff options
| author | 2022-12-13 02:18:51 +0000 | |
|---|---|---|
| committer | 2022-12-13 02:18:51 +0000 | |
| commit | 2445d0816bb6bb06c1e8e66b10a02f7d874978e6 (patch) | |
| tree | 15ed5e5ace09986986796f0b8cecb75ff7769493 | |
| parent | c5e92f912a8317d92af93da39daf18a3db157773 (diff) | |
| parent | 80ca937997abfb531df3cc1384332788c25ad1c7 (diff) | |
Merge "[Safety Labels] Add new intent action for Data Sharing updates page"
| -rw-r--r-- | core/api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/content/Intent.java | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt index 9facc7e65b16..ede53bc826a5 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -3291,6 +3291,7 @@ package android.content { field public static final String ACTION_QUERY_PACKAGE_RESTART = "android.intent.action.QUERY_PACKAGE_RESTART"; field public static final String ACTION_RESOLVE_INSTANT_APP_PACKAGE = "android.intent.action.RESOLVE_INSTANT_APP_PACKAGE"; field @RequiresPermission(android.Manifest.permission.REVIEW_ACCESSIBILITY_SERVICES) public static final String ACTION_REVIEW_ACCESSIBILITY_SERVICES = "android.intent.action.REVIEW_ACCESSIBILITY_SERVICES"; + field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_APP_DATA_SHARING_UPDATES = "android.intent.action.REVIEW_APP_DATA_SHARING_UPDATES"; field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_ONGOING_PERMISSION_USAGE = "android.intent.action.REVIEW_ONGOING_PERMISSION_USAGE"; field public static final String ACTION_REVIEW_PERMISSIONS = "android.intent.action.REVIEW_PERMISSIONS"; field @RequiresPermission(android.Manifest.permission.GRANT_RUNTIME_PERMISSIONS) public static final String ACTION_REVIEW_PERMISSION_HISTORY = "android.intent.action.REVIEW_PERMISSION_HISTORY"; diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index 86a672f1d67e..ebc00a7dea25 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2422,6 +2422,30 @@ public class Intent implements Parcelable, Cloneable { public static final String ACTION_SAFETY_CENTER = "android.intent.action.SAFETY_CENTER"; + /** + * Activity action: Launch the UI to view recent updates that installed apps have made to their + * data sharing policy in their safety labels. + * + * <p> + * Input: Nothing. + * </p> + * <p> + * Output: Nothing. + * </p> + * + * <p class="note"> + * This intent action requires the {@link android.Manifest.permission#GRANT_RUNTIME_PERMISSIONS} + * permission. + * </p> + * + * @hide + */ + @SystemApi + @RequiresPermission(Manifest.permission.GRANT_RUNTIME_PERMISSIONS) + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_REVIEW_APP_DATA_SHARING_UPDATES = + "android.intent.action.REVIEW_APP_DATA_SHARING_UPDATES"; + // --------------------------------------------------------------------- // --------------------------------------------------------------------- // Standard intent broadcast actions (see action variable). |