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

Commit 4cbbf984 authored by wangfukai's avatar wangfukai Committed by android-build-merger
Browse files

Merge "AVRCP:Update lidx when ACP handle exist in bta_av_rc_create" am: 7399be0c am: f7a618a1

am: 409b7c14

Change-Id: I76da4d2d13751b78a293a8b41af067965094a60d
parents 4ddd6b01 409b7c14
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -326,6 +326,7 @@ uint8_t bta_av_rc_create(tBTA_AV_CB* p_cb, uint8_t role, uint8_t shdl,
    p_rcb = bta_av_get_rcb_by_shdl(shdl);
    if (p_rcb != NULL) {
      APPL_TRACE_ERROR("%s: ACP handle exist for shdl:%d", __func__, shdl);
      p_rcb->lidx = lidx;
      return p_rcb->handle;
    }
  }