diff options
| author | 2019-02-05 14:15:05 -0800 | |
|---|---|---|
| committer | 2019-02-07 07:26:13 -0800 | |
| commit | 956282474380df7a5c01c39bf7374f7c4dd31cf7 (patch) | |
| tree | 5a408d774afd1c26de999ac335bf5b5f505f02fe | |
| parent | 31e6a70ca1f4c92da43468cb1da67b0e68773f10 (diff) | |
Add a new intent for reviewing running accessibility services.
Bug: 123595964
Test: Compile
Change-Id: I5854ec61292242e53b01280462cd8b3ca3e89c19
| -rw-r--r-- | api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/content/Intent.java | 16 |
2 files changed, 17 insertions, 0 deletions
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. + * <p> + * Input: Nothing. + * </p> + * <p> + * Output: Nothing. + * </p> + * + * @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). |