diff options
author | Ajay Panicker <apanicke@google.com> | 2017-08-07 16:57:34 -0700 |
---|---|---|
committer | Ajay Panicker <apanicke@google.com> | 2017-08-07 17:00:02 -0700 |
commit | 86859c32964ab3dd66f6085604c3578e1f6b78ff (patch) | |
tree | 3fd34196bad23172ba3c92a2f661b242457b342d | |
parent | 7a5eadc001e78fea8c862716b638246bd0036b5e (diff) | |
download | android_packages_apps_Bluetooth-86859c32964ab3dd66f6085604c3578e1f6b78ff.tar.gz android_packages_apps_Bluetooth-86859c32964ab3dd66f6085604c3578e1f6b78ff.tar.bz2 android_packages_apps_Bluetooth-86859c32964ab3dd66f6085604c3578e1f6b78ff.zip |
Allow AVRCP to send playback state when resumed from pause
Bug: 64457876
Test: Pause a song then try resuming it
Change-Id: I486882945f6e2707d7eae92cb45d0305eeee6f20
-rw-r--r-- | src/com/android/bluetooth/avrcp/Avrcp.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/avrcp/Avrcp.java b/src/com/android/bluetooth/avrcp/Avrcp.java index 8d611141d..1a7c5b1a7 100644 --- a/src/com/android/bluetooth/avrcp/Avrcp.java +++ b/src/com/android/bluetooth/avrcp/Avrcp.java @@ -1023,7 +1023,7 @@ public final class Avrcp { if ((newQueueId == -1 || newQueueId != mLastQueueId) && currentAttributes.equals(mMediaAttributes) && newPlayStatus == PLAYSTATUS_PLAYING - && mReportedPlayStatus != PLAYSTATUS_PLAYING) { + && mReportedPlayStatus == PLAYSTATUS_STOPPED) { // Most carkits like seeing the track changed before the // playback state changed, but some controllers are slow // to update their metadata. Hold of on sending the playback state |