From d4dc77ca4fc93dfe3ce005589030dc96fdd601e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B2=E6=99=93=E6=99=93?= Date: Fri, 7 Feb 2025 11:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=99=BD=E5=90=8D=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 史晓晓 --- commondependency/src/deviceprofile_connector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/commondependency/src/deviceprofile_connector.cpp b/commondependency/src/deviceprofile_connector.cpp index eeb470b29..8c2bd5d4d 100644 --- a/commondependency/src/deviceprofile_connector.cpp +++ b/commondependency/src/deviceprofile_connector.cpp @@ -346,6 +346,7 @@ std::vector DeviceProfileConnector::GetPkgNameFromAcl(std::string & std::vector profiles = GetAccessControlProfile(); LOGI("AccessControlProfile size is %d.", profiles.size()); std::vector pkgNameVec; + pkgNameVec.push_back("Samgr_Networking"); for (auto &item : profiles) { if (item.GetTrustDeviceId() != targetDeviceId || item.GetStatus() != ACTIVE) { continue; -- Gitee