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
201790818da5b2d5df9120e53be19bbe136b2b1a)
/* 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,