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

Commit ebb157e6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NULL check"

parents 9e38f92e 9b77fd12
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -714,8 +714,8 @@ Status ExternalCameraDeviceSession::switchToOffline(
        return Status::ILLEGAL_ARGUMENT;
        return Status::ILLEGAL_ARGUMENT;
    }
    }


    if (info == nullptr || results == nullptr || info == nullptr || session == nullptr) {
    if (msgs == nullptr || results == nullptr || info == nullptr || session == nullptr) {
        ALOGE("%s, output arguments (%p, %p, %p, %p) much not be null", __FUNCTION__, msgs, results,
        ALOGE("%s, output arguments (%p, %p, %p, %p) must not be null", __FUNCTION__, msgs, results,
              info, session);
              info, session);
    }
    }