From 3407217d6c043c1895fd5ffe5e57a2bbe45362b6 Mon Sep 17 00:00:00 2001 From: liuwei Date: Fri, 12 Mar 2021 14:26:03 +0800 Subject: [PATCH 1/2] Description:Fix the readme bugs. Team:OTHERS Feature or Bugfix:Bugfix Binary Source:No PrivateCode(Yes/No):No Change-Id: Idb4a186d23661093643981471fe3e8d69843a330 ChangeID:13282684 --- README.md | 6 +++--- README_zh.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c624791..1606abc 100755 --- a/README.md +++ b/README.md @@ -49,9 +49,9 @@ The bundle management framework is provided by OpenHarmony for you to manage app ## Repositories Involved -Application framework +[Application framework](https://gitee.com/openharmony/docs/blob/master/en/readme/application-framework.md) -aafwk\_lite +[aafwk\_aafwk\_lite](https://gitee.com/openharmony/aafwk_aafwk_lite/blob/master/README.md) -**appexecfwk\_lite** +**appexecfwk\_appexecfwk\_lite** diff --git a/README_zh.md b/README_zh.md index 1ae785b..ea4c868 100755 --- a/README_zh.md +++ b/README_zh.md @@ -11,7 +11,7 @@ **图 1** 包管理组件框架图 ![](figures/包管理组件框架图.png "包管理组件框架图") -- **BundleKit:**是包管理服务对外提供的接口,有安装/卸载接口、包信息查询接口、包状态变化监听接口。 +- **BundleKit**:是包管理服务对外提供的接口,有安装/卸载接口、包信息查询接口、包状态变化监听接口。 - **包扫描子模块**:用来解析本地预制或者安装的安装包,提取里面的各种信息,供管理子模块进行管理,持久化。 - **包安装子模块**:负责安装,卸载,升级一个包。 @@ -39,7 +39,7 @@ ``` - 包管理服务为BundleMs,服务运行于foudation进程中; -- BundleMs注册到sa\_manager中,sa\_manager运行于foundation进程中,sa\_manager为BundleMs创建线程运行环境。具体创建BundleMs服务的方式以及使用该服务的方式,可参考[系统服务框架子系统](zh-cn_topic_0000001051589563.md); +- BundleMs注册到sa\_manager中,sa\_manager运行于foundation进程中,sa\_manager为BundleMs创建线程运行环境。具体创建BundleMs服务的方式以及使用该服务的方式,可参考系统服务框架子系统; - 系统启动后,BundleMs会随系统启动而启动; - 使用bm工具可以安装指定的hap包(以hispark\_taurus为例,bm工具在系统构建后放置在out/hispark\_taurus/ipcamera\_hispark\_taurus/dev\_tools/bin下): @@ -49,9 +49,9 @@ ## 相关仓 -用户程序框架子系统 +[用户程序框架子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E7%94%A8%E6%88%B7%E7%A8%8B%E5%BA%8F%E6%A1%86%E6%9E%B6%E5%AD%90%E7%B3%BB%E7%BB%9F.md) -aafwk\_lite +[aafwk\_aafwk\_lite](https://gitee.com/openharmony/aafwk_aafwk_lite/blob/master/README_zh.md) -**appexecfwk\_lite** +**appexecfwk\_appexecfwk\_lite** -- Gitee From 6ac9fd2f766946aae39a191bd10b78c1ceed8d35 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 14 Apr 2021 17:41:37 +0800 Subject: [PATCH 2/2] IssueNo:#I3IT8I Description:fix double free bug Sig:startup Feature or Bugfix:Bugfix Binary Source:No --- services/bundlemgr_lite/src/bundle_res_transform.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/bundlemgr_lite/src/bundle_res_transform.cpp b/services/bundlemgr_lite/src/bundle_res_transform.cpp index 322a6af..067ca99 100755 --- a/services/bundlemgr_lite/src/bundle_res_transform.cpp +++ b/services/bundlemgr_lite/src/bundle_res_transform.cpp @@ -163,6 +163,7 @@ bool BundleResTransform::ConvertDesResIdToBundleInfo(const std::string &path, ui if (!AbilityInfoUtils::SetAbilityInfoDescription(bundleInfo->abilityInfos + index, description)) { HILOG_ERROR(HILOG_MODULE_APP, "set description resId in abilityInfo fail!"); AdapterFree(description); + return false; } AdapterFree(description); return true; -- Gitee