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

Commit 9d202e39 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

HAL: Fix nullptr check

We had our null check reversed, so we fix that.

Test: TreeHugger
Bug: 203490261
Change-Id: I2cbe2983857d86fdc524e26b5ce342245879cf6d
parent 456916cd
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;
  }