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

Skip to content
Commit e69fc83a authored by Andre Eisenbach's avatar Andre Eisenbach
Browse files

Always send KEYCODE_MEDIA_PLAY_PAUSE

Instead of sending _PLAY or _PAUSE as requested by an AVRCP controller,
forward only KEYCODE_MEDIA_PLAY_PAUSE. That way, if the remote device is
not correctly tracking the playback state, the media player will pause
or resume playback in a manner consistent with a users expectations.

Change-Id: Ibc2e542c799fa500f07dbc62408015e74cd6799e
Fixes: 64006398
Test: Manual; play audio; issue PLAY/PAUSE commands from headphones
parent 1a3a54dc
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