Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and yunhanw-google committed May 23, 2024
1 parent 63c753d commit dba568a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/controller/java/CHIPDeviceController-JNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,8 @@ JNI_METHOD(void, startDnssd)(JNIEnv * env, jobject self, jlong handle)
chip::DeviceLayer::StackLock lock;

AndroidDeviceControllerWrapper * wrapper = AndroidDeviceControllerWrapper::FromJNIHandle(handle);
VerifyOrReturn(wrapper != nullptr, ChipLogError(Controller, "AndroidDeviceControllerWrapper::FromJNIHandle in startDnssd fails!"));
VerifyOrReturn(wrapper != nullptr,
ChipLogError(Controller, "AndroidDeviceControllerWrapper::FromJNIHandle in startDnssd fails!"));
wrapper->StartDnssd();
}

Expand All @@ -2170,7 +2171,8 @@ JNI_METHOD(void, stopDnssd)(JNIEnv * env, jobject self, jlong handle)
chip::DeviceLayer::StackLock lock;

AndroidDeviceControllerWrapper * wrapper = AndroidDeviceControllerWrapper::FromJNIHandle(handle);
VerifyOrReturn(wrapper != nullptr, ChipLogError(Controller, "AndroidDeviceControllerWrapper::FromJNIHandle in stopDnssd fails!"));
VerifyOrReturn(wrapper != nullptr,
ChipLogError(Controller, "AndroidDeviceControllerWrapper::FromJNIHandle in stopDnssd fails!"));
wrapper->StopDnssd();
}

Expand Down

0 comments on commit dba568a

Please sign in to comment.