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

Commit 602c2aa3 authored by Thomas Girardier's avatar Thomas Girardier Committed by Gerrit Code Review
Browse files

Merge "Fix AVRC RemoveRecord" into main

parents 61a37427 7711b78b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -98,8 +98,9 @@ uint16_t AvrcSdpRecordHelper::RemoveRecord(const uint16_t request_id) {
    } else {
      log::info("Removing the record for service uuid 0x{:x}", service_uuid);
      bta_sys_remove_uuid(service_uuid);
      auto result = AVRC_RemoveRecord(sdp_record_handle_);
      sdp_record_handle_ = RECORD_NOT_ASSIGNED;
      return AVRC_RemoveRecord(sdp_record_handle_);
      return result;
    }
  }
  // Nothing to remove.