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

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

Check for nullptr on av_source dumpsys am: 5d3c67df

parents fd9dbbf0 5d3c67df
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();