!331 删除打印敏感信息session ID

Merge pull request !331 from 上官景威/master
This commit is contained in:
openharmony_ci 2024-09-09 06:18:21 +00:00 committed by Gitee
commit 170912bc65
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -229,9 +229,9 @@ static void StartUIExtensionAbility(std::shared_ptr<CmUIExtensionRequestContext>
OHOS::Ace::ModalUIExtensionConfig uiExtConfig;
uiExtConfig.isProhibitBack = false;
int32_t sessionId = uiContent->CreateModalUIExtension(want, extensionCallbacks, uiExtConfig);
CM_LOG_I("end CreateModalUIExtension sessionId = %d", sessionId);
CM_LOG_I("end CreateModalUIExtension");
if (sessionId == 0) {
CM_LOG_E("CreateModalUIExtension failed, sessionId is %d", sessionId);
CM_LOG_E("CreateModalUIExtension failed");
ThrowError(asyncContext->env, PARAM_ERROR, "CreateModalUIExtension failed");
}
uiExtCallback->SetSessionId(sessionId);