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

Commit ef2042a7 authored by Abhishek Pandit-Subedi's avatar Abhishek Pandit-Subedi Committed by Automerger Merge Worker
Browse files

Revert "Take arguments by const reference" am: f2a9e735

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1734295

Change-Id: I277ef914d91b531d59c96cdbfdb541b019eaaef3
parents 62f40604 f2a9e735
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -88,8 +88,8 @@ static void audio_state_cb(const RawAddress& bd_addr, btav_audio_state_t state)
static void audio_config_cb(
    const RawAddress& bd_addr,
    btav_a2dp_codec_config_t codec_config,
    const std::vector<btav_a2dp_codec_config_t>& codecs_local_capabilities,
    const std::vector<btav_a2dp_codec_config_t>& codecs_selectable_capabilities) {
    std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities,
    std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities) {
  RustRawAddress addr = to_rust_address(bd_addr);
  A2dpCodecConfig cfg = to_rust_codec_config(codec_config);
  ::rust::Vec<A2dpCodecConfig> lcaps = to_rust_codec_config_vec(codecs_local_capabilities);