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

Commit a1e26cad authored by Ajay Panicker's avatar Ajay Panicker
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
parent e54d68eb
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