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

Commit 109714fb authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Add missing return in error handling for avrcp GET_ELEMENT_ATTRIBUTES

Bug: 175895723
Change-Id: I56d297554160940dce19cbab50a963abf48f568d
parent 244da647
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -169,6 +169,7 @@ void Device::VendorPacketHandler(uint8_t label,
        DEVICE_LOG(WARNING) << __func__ << ": Request packet is not valid";
        auto response = RejectBuilder::MakeBuilder(pkt->GetCommandPdu(), Status::INVALID_PARAMETER);
        send_message(label, false, std::move(response));
        return;
      }
      media_interface_->GetSongInfo(base::Bind(&Device::GetElementAttributesResponse, weak_ptr_factory_.GetWeakPtr(),
                                               label, get_element_attributes_request_pkt));