From 49b6a92f3d6b26dd1ec52b7af06ce6eaefbddce3 Mon Sep 17 00:00:00 2001 From: tianp Date: Tue, 5 Aug 2025 10:10:19 +0800 Subject: [PATCH] =?UTF-8?q?access=E6=8E=A5=E5=8F=A3=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tianp Change-Id: I5e99d82560f6d6c564c2468e2bb0fb98ccb18f28 --- .../kits/js/src/mod_fs/properties/access_core.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/access_core.cpp b/interfaces/kits/js/src/mod_fs/properties/access_core.cpp index 8ecd7b63f..daa341d9f 100644 --- a/interfaces/kits/js/src/mod_fs/properties/access_core.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/access_core.cpp @@ -81,13 +81,13 @@ static sptr GetBundleMgrProxy() sptr systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); if (!systemAbilityManager) { - HILOGE("fail to get system ability mgr"); + HILOGE("Fail to get system ability mgr"); return nullptr; } sptr remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); if (!remoteObject) { - HILOGE("fail to get bundle manager proxy"); + HILOGE("Fail to get bundle manager proxy"); return nullptr; } @@ -98,13 +98,13 @@ static string GetSelfBundleName() { sptr bundleMgrProxy = GetBundleMgrProxy(); if (!bundleMgrProxy) { - HILOGE("bundleMgrProxy is nullptr"); + HILOGE("BundleMgrProxy is nullptr"); return ""; } BundleInfo bundleInfo; auto ret = bundleMgrProxy->GetBundleInfoForSelf(0, bundleInfo); if (ret != 0) { - HILOGE("bundleName get fail"); + HILOGE("BundleName get fail"); return ""; } return bundleInfo.name; @@ -116,7 +116,7 @@ static int HandleLocalCheck(const string &path, int mode) if (path.find(CLOUDDISK_FILE_PREFIX) == 0) { char val[2] = {'\0'}; if (getxattr(path.c_str(), CLOUD_FILE_LOCATION.c_str(), val, sizeof(val)) < 0) { - HILOGI("get cloud file location fail, err: %{public}d", errno); + HILOGI("Get cloud file location fail, err: %{public}d", errno); return errno; } if (val[0] == POSITION_LOCAL || val[0] == POSITION_BOTH) { -- Gitee