From 0cb75cc2b303c7ec6ccd95b0a71b3c2322bda60f Mon Sep 17 00:00:00 2001 From: Zheng Yongjun Date: Wed, 26 Jan 2022 11:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E5=8E=BB=E6=8E=89account=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E7=9A=84=E6=8C=82=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zheng Yongjun Change-Id: I47fc9d95e6c4cd4dd5a989e131a74618a50834aa --- src/appspawn_server.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp index a19648c7..7950c23d 100644 --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -457,7 +457,6 @@ int32_t AppSpawnServer::DoAppSandboxMount(const ClientSocket::AppProperty *appPr std::string oriInstallPath = "/data/app/el1/bundle/"; std::string oriDataPath = "/data/app/el2/" + currentUserId + "/base/"; std::string oriDatabasePath = "/data/app/el2/" + currentUserId + "/database/"; - std::string destAPI7InstallPath = rootPath + "/data/accounts/account_0/applications"; std::string destDatabasePath = rootPath + "/data/storage/el2/database"; std::string destInstallPath = rootPath + "/data/storage/el1/bundle"; std::string destDataPath = rootPath + "/data/storage/el2/base"; @@ -469,10 +468,9 @@ int32_t AppSpawnServer::DoAppSandboxMount(const ClientSocket::AppProperty *appPr oriDatabasePath += bundleName; std::map mountMap; - mountMap[oriInstallPath] = destAPI7InstallPath; - mountMap[oriDatabasePath] = destDatabasePath; - mountMap[oriInstallPath] = destInstallPath; - mountMap[oriDataPath] = destDataPath; + mountMap[destDatabasePath] = oriDatabasePath; + mountMap[destInstallPath] = oriInstallPath; + mountMap[destDataPath] = oriDataPath; std::map::iterator iter; for (iter = mountMap.begin(); iter != mountMap.end(); iter++) { -- Gitee