From 7b2d571eeb135732563cf4c1fce8bf0c758a2ccb Mon Sep 17 00:00:00 2001 From: sunfei Date: Tue, 26 Apr 2022 14:40:03 +0800 Subject: [PATCH] fixed 3b95b04 from https://gitee.com/sunfei2021/ace_ace_engine/pulls/2330 fix moduleJson profile parse issue Signed-off-by: sunfei Change-Id: I1ff19524caec7539950f6f6f93265e4422ffdf53 --- adapter/ohos/entrance/ui_content_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/ohos/entrance/ui_content_impl.cpp b/adapter/ohos/entrance/ui_content_impl.cpp index 35ab9be0..4c43853a 100644 --- a/adapter/ohos/entrance/ui_content_impl.cpp +++ b/adapter/ohos/entrance/ui_content_impl.cpp @@ -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"); }