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

Commit 0769822f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "HAL: Fix nullptr check"

parents 20a23375 9d202e39
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;
  }