mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
!35205 子窗apiTargetVersion bugfix
Merge pull request !35205 from fangzhiyuan/api
This commit is contained in:
commit
dc1b6c362b
@ -2338,6 +2338,9 @@ void UIContentImpl::InitializeSubWindow(OHOS::Rosen::Window* window, bool isDial
|
||||
|
||||
container->SetBundlePath(context->GetBundleCodeDir());
|
||||
container->SetFilesDataPath(context->GetFilesDir());
|
||||
} else {
|
||||
auto apiTargetVersion = AceApplicationInfo::GetInstance().GetApiTargetVersion();
|
||||
container->SetApiTargetVersion(apiTargetVersion);
|
||||
}
|
||||
SubwindowManager::GetInstance()->AddContainerId(window->GetWindowId(), instanceId_);
|
||||
AceEngine::Get().AddContainer(instanceId_, container);
|
||||
|
Loading…
Reference in New Issue
Block a user