Merge "Add triggering the accessibility shortcut as a system action" into rvc-dev

This commit is contained in:
Sally Yuen
2020-05-04 16:07:34 +00:00
committed by Android (Google) Code Review
4 changed files with 45 additions and 9 deletions

View File

@@ -513,6 +513,13 @@ public abstract class AccessibilityService extends Service {
*/
public static final int GLOBAL_ACTION_ACCESSIBILITY_BUTTON_CHOOSER = 12;
/**
* Action to trigger the Accessibility Shortcut. This shortcut has a hardware trigger and can
* be activated by holding down the two volume keys.
* @hide
*/
public static final int GLOBAL_ACTION_ACCESSIBILITY_SHORTCUT = 13;
private static final String LOG_TAG = "AccessibilityService";
/**