From 86b63bbfd6a16f06d177fba2003ea814a0fccadf Mon Sep 17 00:00:00 2001 From: taojuncun Date: Wed, 5 Jun 2024 18:11:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=89=B4=E6=9D=83=E9=97=AE=E9=A2=98&=E6=9E=84?= =?UTF-8?q?=E9=80=A0=E5=87=BD=E6=95=B0=E6=9E=90=E6=9E=84=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: taojuncun --- .../src/accessible_ability_manager_service_proxy.cpp | 8 ++++++-- sa_profile/accessibility.cfg | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common/interface/src/accessible_ability_manager_service_proxy.cpp b/common/interface/src/accessible_ability_manager_service_proxy.cpp index ce90201b..56e9265a 100644 --- a/common/interface/src/accessible_ability_manager_service_proxy.cpp +++ b/common/interface/src/accessible_ability_manager_service_proxy.cpp @@ -24,10 +24,14 @@ namespace OHOS { namespace Accessibility { AccessibleAbilityManagerServiceProxy::AccessibleAbilityManagerServiceProxy(const sptr &impl) : IRemoteProxy(impl) -{} +{ + HILOG_INFO("AccessibleAbilityManagerServiceProxy construct this ptr = %{public}p", this); +} AccessibleAbilityManagerServiceProxy::~AccessibleAbilityManagerServiceProxy() -{} +{ + HILOG_INFO("AccessibleAbilityManagerServiceProxy destruct this ptr = %{public}p", this); +} bool AccessibleAbilityManagerServiceProxy::WriteInterfaceToken(MessageParcel &data) { diff --git a/sa_profile/accessibility.cfg b/sa_profile/accessibility.cfg index 590fc7d0..72c66deb 100644 --- a/sa_profile/accessibility.cfg +++ b/sa_profile/accessibility.cfg @@ -16,6 +16,7 @@ "secon" : "u:r:accessibility:s0", "permission" : [ "ohos.permission.MANAGE_SECURE_SETTINGS", + "ohos.permission.MANAGE_SETTINGS", "ohos.permission.INTERCEPT_INPUT_EVENT", "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", "ohos.permission.MANAGE_LOCAL_ACCOUNTS",