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

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

Merge "HAL: Fix nullptr check" am: 0769822f am: c039a82e

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

Change-Id: I52be6fb25cae41f4b016962fa6ac243f54e3933c
parents 92b0d805 c039a82e
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;
  }