diff options
| author | Jackal Guo <jackalguo@google.com> | 2019-02-14 15:27:25 +0800 |
|---|---|---|
| committer | Jackal Guo <jackalguo@google.com> | 2019-02-19 18:07:34 +0800 |
| commit | 03e67da0fbcea54de02445e3c1bc2fe00113d705 (patch) | |
| tree | 475bac5a25ac30060a89ec66ea25545c26d6dc79 /core/java/android | |
| parent | bad68326231489f83149c3a3f6230d3ff0402f01 (diff) | |
Add Intent and permission for a11y service toggle screen
Add an Intent to open individual a11y service toggle screen, and
this Intent also needs to be protected by a dedicated permission.
Bug: 123693167
Test: atest PermissionPolicyTest
Change-Id: I058ab17b7f5819aa95205ae72e61af17d04b5df1
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/provider/Settings.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index d925d7ee2676..74172d7353d9 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -308,6 +308,22 @@ public final class Settings { "android.settings.ACCESSIBILITY_SETTINGS"; /** + * Activity Action: Show detail settings of a particular accessibility service. + * <p> + * In some cases, a matching Activity may not exist, so ensure you safeguard against this. + * <p> + * Input: {@link Intent#EXTRA_COMPONENT_NAME} must specify the accessibility service component + * name to be shown. + * <p> + * Output: Nothing. + * @hide + **/ + @SystemApi + @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION) + public static final String ACTION_ACCESSIBILITY_DETAILS_SETTINGS = + "android.settings.ACCESSIBILITY_DETAILS_SETTINGS"; + + /** * Activity Action: Show settings to control access to usage information. * <p> * In some cases, a matching Activity may not exist, so ensure you |
