Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 405bed5c authored by Sally Yuen's avatar Sally Yuen Committed by Android (Google) Code Review
Browse files

Merge "Update AccessibilityService global headset action docs to fully...

Merge "Update AccessibilityService global headset action docs to fully recognize calling behavior" into main
parents 038197d1 8aa43ac7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -566,8 +566,10 @@ public abstract class AccessibilityService extends Service {
    public static final int GLOBAL_ACTION_TAKE_SCREENSHOT = 9;

    /**
     * Action to send the KEYCODE_HEADSETHOOK KeyEvent, which is used to answer/hang up calls and
     * play/stop media
     * Action to send the KEYCODE_HEADSETHOOK KeyEvent, which is used to answer and hang up calls
     * and play and stop media. Calling takes priority. If there is an incoming call,
     * this action can be used to answer that call, and if there is an ongoing call, to hang up on
     * that call.
     */
    public static final int GLOBAL_ACTION_KEYCODE_HEADSETHOOK = 10;