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

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

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

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

Change-Id: Ie221abc94bb97ba005e641feab30b2012526df9c
parents 46f989b9 0769822f
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;
  }