!1287 【OpenHarmony 4.0.1.2】【包管理子系统】【RK3568】【必现-10/10】在单或多用户场景下,bm install -p 命令和bm install -r -p 功能一致,都默认替换安装

Merge pull request !1287 from wangtiantian/bm_p
This commit is contained in:
openharmony_ci
2022-04-22 06:36:12 +00:00
committed by Gitee
+1 -1
View File
@@ -553,7 +553,7 @@ ErrCode BundleManagerShellCommand::RunAsHelpCommand()
ErrCode BundleManagerShellCommand::RunAsInstallCommand()
{
int result = OHOS::ERR_OK;
InstallFlag installFlag = InstallFlag::NORMAL;
InstallFlag installFlag = InstallFlag::REPLACE_EXISTING;
int option = -1;
int counter = 0;
std::vector<std::string> bundlePath;