!802 适配system ui权限校验问题

Merge pull request !802 from Abonadon_hk/master
This commit is contained in:
openharmony_ci 2024-04-02 09:47:23 +00:00 committed by Gitee
commit 27fa25fa5f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -43,6 +43,11 @@ void UIExtensionAbilityConnection::OnAbilityConnectDone(const AppExecFwk::Elemen
int32_t errCode = remoteObject->SendRequest(IAbilityConnection::ON_ABILITY_CONNECT_DONE, data, reply, option);
IAM_LOGI("AbilityConnectionWrapperProxy::OnAbilityConnectDone result %{public}d", errCode);
if (errCode != SUCCESS) {
IAM_LOGE("widget schedule error, stop auth");
connectAbilityHitrace_ = nullptr;
WidgetClient::Instance().ForceStopAuth();
}
}
void UIExtensionAbilityConnection::OnAbilityDisconnectDone(const AppExecFwk::ElementName &element,