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

Commit f9a74a93 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Add tBTA_AG_SCB::ToString am: 15d10915 am: 3532c37c am: 6abd7dc3

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If845d5b4be2e71e965417a042cbd05f0810209c6
parents 2e40f340 6abd7dc3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -246,6 +246,14 @@ struct tBTA_AG_SCB {
  tBTA_AG_HF_IND
      local_hf_indicators[BTA_AG_MAX_NUM_LOCAL_HF_IND]; /* Local supported
                                                    HF indicators */

  std::string ToString() const {
    return base::StringPrintf(
        "codec_updated=%d, codec_fallback=%d, "
        "sco_codec=%d, peer_codec=%d, msbc_settings=%d, device=%s",
        codec_updated, codec_fallback, sco_codec, peer_codecs,
        codec_msbc_settings, peer_addr.ToString().c_str());
  }
};

/* type for sco data */