鉴权问题&构造函数析构函数添加日志

Signed-off-by: taojuncun <taojuncun@huawei.com>
This commit is contained in:
taojuncun 2024-06-05 18:11:51 +08:00
parent 3398c55c42
commit 86b63bbfd6
2 changed files with 7 additions and 2 deletions

View File

@ -24,10 +24,14 @@ namespace OHOS {
namespace Accessibility {
AccessibleAbilityManagerServiceProxy::AccessibleAbilityManagerServiceProxy(const sptr<IRemoteObject> &impl)
: IRemoteProxy<IAccessibleAbilityManagerService>(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)
{

View File

@ -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",