mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 23:21:05 +00:00
修复UEC多实例问题
Signed-off-by: cuijiawei2022 <cuijiawei14@huawei.com>
This commit is contained in:
parent
b57d56134c
commit
d6437bdeb6
@ -457,6 +457,7 @@ void SecuritySessionWrapperImpl::NotifyCreate() {}
|
||||
|
||||
void SecuritySessionWrapperImpl::NotifyForeground()
|
||||
{
|
||||
ContainerScope scope(instanceId_);
|
||||
CHECK_NULL_VOID(session_);
|
||||
auto pipeline = PipelineBase::GetCurrentContext();
|
||||
CHECK_NULL_VOID(pipeline);
|
||||
|
@ -349,6 +349,7 @@ Rosen::SessionViewportConfig ConvertToRosenSessionViewportConfig(const SessionVi
|
||||
|
||||
void SessionWrapperImpl::CreateSession(const AAFwk::Want& want, const SessionConfig& config)
|
||||
{
|
||||
ContainerScope scope(instanceId_);
|
||||
UIEXT_LOGI("The session is created with want = %{private}s", want.ToString().c_str());
|
||||
auto container = Platform::AceContainer::GetContainer(instanceId_);
|
||||
CHECK_NULL_VOID(container);
|
||||
@ -581,6 +582,7 @@ int32_t SessionWrapperImpl::GetWindowSceneId()
|
||||
|
||||
void SessionWrapperImpl::NotifyForeground()
|
||||
{
|
||||
ContainerScope scope(instanceId_);
|
||||
CHECK_NULL_VOID(session_);
|
||||
auto container = Platform::AceContainer::GetContainer(instanceId_);
|
||||
CHECK_NULL_VOID(container);
|
||||
|
Loading…
Reference in New Issue
Block a user