From 956282474380df7a5c01c39bf7374f7c4dd31cf7 Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Tue, 5 Feb 2019 14:15:05 -0800 Subject: Add a new intent for reviewing running accessibility services. Bug: 123595964 Test: Compile Change-Id: I5854ec61292242e53b01280462cd8b3ca3e89c19 --- api/system-current.txt | 1 + core/java/android/content/Intent.java | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/api/system-current.txt b/api/system-current.txt index b7fc33950642..bcc6a7cd61be 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -1368,6 +1368,7 @@ package android.content { field public static final String ACTION_PRE_BOOT_COMPLETED = "android.intent.action.PRE_BOOT_COMPLETED"; 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 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_PERMISSION_USAGE = "android.intent.action.REVIEW_APP_PERMISSION_USAGE"; field public static final String ACTION_REVIEW_PERMISSIONS = "android.intent.action.REVIEW_PERMISSIONS"; field public static final String ACTION_REVIEW_PERMISSION_USAGE = "android.intent.action.REVIEW_PERMISSION_USAGE"; diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index a3021f371e19..5e7b7d139033 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -2102,6 +2102,22 @@ public class Intent implements Parcelable, Cloneable { public static final String ACTION_REVIEW_APP_PERMISSION_USAGE = "android.intent.action.REVIEW_APP_PERMISSION_USAGE"; + /** + * Activity action: Launch UI to review running accessibility services. + *

+ * Input: Nothing. + *

+ *

+ * Output: Nothing. + *

+ * + * @hide + */ + @SystemApi + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_REVIEW_ACCESSIBILITY_SERVICES = + "android.intent.action.REVIEW_ACCESSIBILITY_SERVICES"; + // --------------------------------------------------------------------- // --------------------------------------------------------------------- // Standard intent broadcast actions (see action variable). -- cgit v1.2.3-59-g8ed1b