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

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

Merge "HAL: Fix nullptr check" am: 0769822f am: c039a82e am: 40be9c0d am: 6e73e401

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

Change-Id: I5ca2db8f05c4114e4932b157f2ae62259484afd1
parents e715d6e8 6e73e401
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ BluetoothAudioSourceClientInterface::~BluetoothAudioSourceClientInterface() {
void BluetoothAudioClientInterface::binderDiedCallbackAidl(void* ptr) {
  LOG(WARNING) << __func__ << ": restarting connection with new Audio Hal";
  auto client = static_cast<BluetoothAudioClientInterface*>(ptr);
  if (client != nullptr) {
  if (client == nullptr) {
    LOG(ERROR) << __func__ << ": null audio HAL died!";
    return;
  }