!2335 Weekly挑单:Stage模型包结构页面解析适配

Merge pull request !2335 from Sunfei/cherry-pick-1650967983
This commit is contained in:
openharmony_ci
2022-04-26 11:48:34 +00:00
committed by Gitee
+1 -1
View File
@@ -352,7 +352,7 @@ void UIContentImpl::CommonInitialize(OHOS::Rosen::Window* window, const std::str
auto hapInfo = context->GetHapModuleInfo();
if (hapInfo) {
pageProfile = hapInfo->pages;
const std::string profilePrefix = "@profile:";
const std::string profilePrefix = "$profile:";
if (pageProfile.compare(0, profilePrefix.size(), profilePrefix) == 0) {
pageProfile = pageProfile.substr(profilePrefix.length()).append(".json");
}