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

Commit 64f94fbc authored by Bill Yi's avatar Bill Yi
Browse files

Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE

Merged-In: I729cc4a1d85ec47af278d5f81a52991fdd174113
Merged-In: I0748c425ef7e832293ae2c5344e265f89677c4e2
Change-Id: I17eee2454dc223a1caa0ad40817a5d5c927716a5
parents 52ad967a 2cf79874
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -306,6 +306,13 @@ static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR* p_msg,
        return AVRC_STS_INTERNAL_ERR;
      else {
        BE_STREAM_TO_UINT8(p_result->reg_notif.event_id, p);
        if (!AVRC_IS_VALID_EVENT_ID(p_result->reg_notif.event_id)) {
          android_errorWriteLog(0x534e4554, "168802990");
          AVRC_TRACE_ERROR("%s: Invalid event id: %d", __func__,
                           p_result->reg_notif.event_id);
          return AVRC_STS_BAD_PARAM;
        }

        BE_STREAM_TO_UINT32(p_result->reg_notif.param, p);
      }
      break;