From edecef1e2da0e7892584f6ac3a63060e75776eee Mon Sep 17 00:00:00 2001 From: Zheng Yongjun Date: Tue, 8 Mar 2022 09:38:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20permissionmanager=20?= =?UTF-8?q?=E8=B7=9F=20settings=20=E5=BA=94=E7=94=A8=E7=9A=84=E5=85=AC?= =?UTF-8?q?=E5=85=B1=E5=AE=89=E8=A3=85=E5=8C=85=E8=AE=BF=E9=97=AE=E8=83=BD?= =?UTF-8?q?=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zheng Yongjun --- src/appspawn_server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 src/appspawn_server.cpp diff --git a/src/appspawn_server.cpp b/src/appspawn_server.cpp old mode 100755 new mode 100644 index 0bc9c2bd..7fd5ffea --- a/src/appspawn_server.cpp +++ b/src/appspawn_server.cpp @@ -659,7 +659,8 @@ int32_t AppSpawnServer::DoAppSandboxMountCustomized(const ClientSocket::AppPrope std::string currentUserId = std::to_string(appProperty->uid / UID_BASE); std::string destInstallPath = rootPath + "/data/storage/el1/bundle"; - if (bundleName.find("launcher") != std::string::npos || bundleName.find("systemui") != std::string::npos) { + if (bundleName.find("launcher") != std::string::npos || bundleName.find("systemui") != std::string::npos ||\ + bundleName.find("permissionmanager") != std::string::npos || bundleName == "com.ohos.settings") { // account_0/applications/ dir can still access other packages' data now for compatibility purpose std::string oriapplicationsPath = "/data/app/el1/bundle/public/"; std::string destapplicationsPath = rootPath + "/data/accounts/account_0/applications/"; -- Gitee