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

Skip to content
Commit 0415220e authored by Andrew Chant's avatar Andrew Chant
Browse files

let KEYCODE_MEDIA_PLAY_PAUSE answer/hangup calls

By the Android USB headset spec:
https://source.android.com/devices/accessories/headset/usb-headset-spec



The Android key KECODE_MEDIA_PLAY_PAUSE should accept, reject, and end
calls when pressed appropriately.

This behavior is the same as the HEADSETHOOK behavior.
This updates the button handling code to match the spec.

Test: answered, muted, and hung-up call with USB headset adhering to spec.

Bug: 36070414
Change-Id: Id575d8b6178b76985a883e987908cf8c445c7bdf
Signed-off-by: default avatarAndrew Chant <achant@google.com>
parent b5181910
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment