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

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

Check for nullptr on av_source dumpsys am: 5d3c67df am: 1244357d am:...

Check for nullptr on av_source dumpsys am: 5d3c67df am: 1244357d am: efa01915 am: f480a912 am: ade2909c

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2084171



Change-Id: I80503441bcf411a5c914c6e1c336b2ae28506589
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents ab5c42a4 ade2909c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3469,9 +3469,11 @@ static void btif_debug_av_source_dump(int fd) {
          btif_av_source.ActivePeer().ToString().c_str());
  for (auto it : btif_av_source.Peers()) {
    const BtifAvPeer* peer = it.second;
    if (peer != nullptr) {
      btif_debug_av_peer_dump(fd, *peer);
    }
  }
}

static void btif_debug_av_sink_dump(int fd) {
  bool enabled = btif_av_sink.Enabled();