diff --git a/src/controller/java/AndroidDeviceControllerWrapper.cpp b/src/controller/java/AndroidDeviceControllerWrapper.cpp index e875b09171c42a..1a601ba8504dbc 100644 --- a/src/controller/java/AndroidDeviceControllerWrapper.cpp +++ b/src/controller/java/AndroidDeviceControllerWrapper.cpp @@ -520,7 +520,8 @@ CHIP_ERROR AndroidDeviceControllerWrapper::StartOTAProvider(jobject otaProviderD VerifyOrExit(otaProviderBridge != nullptr, err = CHIP_ERROR_NO_MEMORY); err = otaProviderBridge->Init(systemState->SystemLayer(), systemState->ExchangeMgr(), otaProviderDelegate); - VerifyOrExit(err == CHIP_NO_ERROR, ChipLogError(Controller, "OTA Provider Initialize Error : %" CHIP_ERROR_FORMAT, err.Format())); + VerifyOrExit(err == CHIP_NO_ERROR, + ChipLogError(Controller, "OTA Provider Initialize Error : %" CHIP_ERROR_FORMAT, err.Format())); mOtaProviderBridge = otaProviderBridge; exit: diff --git a/src/controller/java/OTAProviderDelegateBridge.cpp b/src/controller/java/OTAProviderDelegateBridge.cpp index 80243afe344d44..21ad8634465855 100644 --- a/src/controller/java/OTAProviderDelegateBridge.cpp +++ b/src/controller/java/OTAProviderDelegateBridge.cpp @@ -46,7 +46,8 @@ OTAProviderDelegateBridge::~OTAProviderDelegateBridge() mBdxOTASender = nullptr; } -CHIP_ERROR OTAProviderDelegateBridge::Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager, jobject otaProviderDelegate) +CHIP_ERROR OTAProviderDelegateBridge::Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager, + jobject otaProviderDelegate) { ReturnLogErrorOnFailure(mOtaProviderDelegate.Init(otaProviderDelegate)); diff --git a/src/controller/java/OTAProviderDelegateBridge.h b/src/controller/java/OTAProviderDelegateBridge.h index da373bea747813..ae982cda2fa899 100644 --- a/src/controller/java/OTAProviderDelegateBridge.h +++ b/src/controller/java/OTAProviderDelegateBridge.h @@ -32,7 +32,8 @@ class OTAProviderDelegateBridge : public chip::app::Clusters::OTAProviderDelegat { public: ~OTAProviderDelegateBridge() override; - CHIP_ERROR Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager, jobject OTAProviderDelegate); + CHIP_ERROR Init(chip::System::Layer * systemLayer, chip::Messaging::ExchangeManager * exchangeManager, + jobject OTAProviderDelegate); void Shutdown(); /**