mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Fix NULL check"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ebb157e690
@@ -714,8 +714,8 @@ Status ExternalCameraDeviceSession::switchToOffline(
|
||||
return Status::ILLEGAL_ARGUMENT;
|
||||
}
|
||||
|
||||
if (info == nullptr || results == nullptr || info == nullptr || session == nullptr) {
|
||||
ALOGE("%s, output arguments (%p, %p, %p, %p) much not be null", __FUNCTION__, msgs, results,
|
||||
if (msgs == nullptr || results == nullptr || info == nullptr || session == nullptr) {
|
||||
ALOGE("%s, output arguments (%p, %p, %p, %p) must not be null", __FUNCTION__, msgs, results,
|
||||
info, session);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user