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

Commit 0334c8bb authored by Joseph Pirozzo's avatar Joseph Pirozzo
Browse files

AVRCP play status change updates

Process play status updates when seeking forward and backward.

Bug: 67568875
Test: seek forward and backward on paired phone and observe updates.
Change-Id: Id280f0e877cfea0a0da7603ab6d7bcfaf667d482
(cherry picked from commit 5a6d6815)
parent aac0535f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3192,7 +3192,9 @@ static void handle_notification_response(tBTA_AV_META_MSG* pmeta_msg,
        /* Start timer to get play status periodically
         * if the play state is playing.
         */
        if (p_rsp->param.play_status == AVRC_PLAYSTATE_PLAYING) {
        if (p_rsp->param.play_status == AVRC_PLAYSTATE_PLAYING ||
            p_rsp->param.play_status == AVRC_PLAYSTATE_REV_SEEK ||
            p_rsp->param.play_status == AVRC_PLAYSTATE_FWD_SEEK) {
          rc_start_play_status_timer(p_dev);
        }
        HAL_CBACK(bt_rc_ctrl_callbacks, play_status_changed_cb, &rc_addr,