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

Commit 75a43cfc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AVRCP register for addressed player changed" into pi-dev

parents c7ab80f8 aac0535f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3112,6 +3112,7 @@ static void handle_get_capability_response(tBTA_AV_META_MSG* pmeta_msg,
      if ((p_rsp->param.event_id[xx] == AVRC_EVT_PLAY_STATUS_CHANGE) ||
          (p_rsp->param.event_id[xx] == AVRC_EVT_TRACK_CHANGE) ||
          (p_rsp->param.event_id[xx] == AVRC_EVT_APP_SETTING_CHANGE) ||
          (p_rsp->param.event_id[xx] == AVRC_EVT_ADDR_PLAYER_CHANGE) ||
          (p_rsp->param.event_id[xx] == AVRC_EVT_UIDS_CHANGE)) {
        p_event = (btif_rc_supported_event_t*)osi_malloc(
            sizeof(btif_rc_supported_event_t));
@@ -3220,6 +3221,8 @@ static void handle_notification_response(tBTA_AV_META_MSG* pmeta_msg,
        break;

      case AVRC_EVT_ADDR_PLAYER_CHANGE:
        HAL_CBACK(bt_rc_ctrl_callbacks, set_addressed_player_cb, &rc_addr,
                  BTRC_STS_ADDR_PLAY_CHGD);
        break;

      case AVRC_EVT_UIDS_CHANGE: