Description: oaid双实例处理

Feature or Bugfix: Feature
Binary Source:No Signed-off-by:dzq<dongziqian2@huawei.com>
This commit is contained in:
dzq 2024-08-09 13:54:50 +08:00
parent 14d71698e2
commit ec64177525

View File

@ -134,7 +134,7 @@ void OAIDService::OnStart()
int32_t OAIDService::Init()
{
bool ret = Publish(OAIDService::GetInstance());
bool ret = Publish(this);
if (!ret) {
OAID_HILOGE(OAID_MODULE_SERVICE, "OAID service init failed.");
return ERR_SYSYTEM_ERROR;