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

Commit 027d623c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Take arguments by const reference" am: 318973d4

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

Change-Id: I0a21d7d2d9a5e76800cb6f82e4b3e16a8d0bebd4
parents 85e5d605 318973d4
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,
    std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities,
    std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities) {
    const std::vector<btav_a2dp_codec_config_t>& codecs_local_capabilities,
    const 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);