commit | e69fc83ad46b1e0c60a1beb59a1c241935282945 | [log] [tgz] |
---|---|---|
author | Andre Eisenbach <eisenbach@google.com> | Wed Sep 27 16:26:59 2017 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Sat Sep 30 00:16:17 2017 +0000 |
tree | 50f02d4a005725f691c37a9c53fa39f010ac6d09 | |
parent | 1a3a54dc6b349a6560317eb58166b8b3f956c69d [diff] |
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