Skip to content

Commit

Permalink
Remove ServiceEvents() call from Java and Python controller (#7930)
Browse files Browse the repository at this point in the history
  • Loading branch information
austinh0 authored Jun 26, 2021
1 parent 7e851e0 commit 17dbc19
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/controller/java/AndroidDeviceControllerWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,6 @@ AndroidDeviceControllerWrapper * AndroidDeviceControllerWrapper::AllocateNew(Jav
return nullptr;
}

*errInfoOnFailure = wrapper->Controller()->ServiceEvents();

if (*errInfoOnFailure != CHIP_NO_ERROR)
{
return nullptr;
}

return wrapper.release();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ CHIP_ERROR pychip_DeviceController_NewDeviceController(chip::Controller::DeviceC

(*outDevCtrl)->SetUdpListenPort(CHIP_PORT + 1);
ReturnErrorOnFailure((*outDevCtrl)->Init(localDeviceId, initParams));
ReturnErrorOnFailure((*outDevCtrl)->ServiceEvents());

return CHIP_NO_ERROR;
}
Expand Down

0 comments on commit 17dbc19

Please sign in to comment.