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

Commit b3b62572 authored by Ajay Panicker's avatar Ajay Panicker Committed by Myles Watson
Browse files

Allow AVRCP to send playback state when resumed from pause

Bug: 64457876
Test: Pause a song then try resuming it
Change-Id: I486882945f6e2707d7eae92cb45d0305eeee6f20
(cherry picked from commit a1e26cad)
parent d59ffeb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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