From 4094fceb8af565b48027618bfd25ddf90b2f0ae3 Mon Sep 17 00:00:00 2001 From: xingjiangpan Date: Sat, 8 Jun 2024 17:40:22 +0800 Subject: [PATCH] Add permisson for SimulateInputEvent Signed-off-by: xingjiangpan Change-Id: I4cb425bb0c2ed517ff11b545f71d2edc27913f2f --- etc/init/msdp.cfg | 2 ++ etc/init/msdp_musl.cfg | 2 ++ 2 files changed, 4 insertions(+) diff --git a/etc/init/msdp.cfg b/etc/init/msdp.cfg index 8df55bc..27237fd 100644 --- a/etc/init/msdp.cfg +++ b/etc/init/msdp.cfg @@ -18,6 +18,7 @@ "ohos.permission.DISTRIBUTED_DATASYNC", "ohos.permission.MICROPHONE", "ohos.permission.INPUT_MONITORING", + "ohos.permission.INJECT_INPUT_EVENT", "ohos.permission.LOCATION", "ohos.permission.APPROXIMATELY_LOCATION", "ohos.permission.ACCESS_SERVICE_DM", @@ -30,6 +31,7 @@ ], "permission_acls" : [ "ohos.permission.INPUT_MONITORING", + "ohos.permission.INJECT_INPUT_EVENT", "ohos.permission.ACCESS_DISTRIBUTED_HARDWARE", "ohos.permission.INTERCEPT_INPUT_EVENT", "ohos.permission.MONITOR_DEVICE_NETWORK_STATE" diff --git a/etc/init/msdp_musl.cfg b/etc/init/msdp_musl.cfg index 5a8b189..12ada85 100644 --- a/etc/init/msdp_musl.cfg +++ b/etc/init/msdp_musl.cfg @@ -19,6 +19,7 @@ "ohos.permission.DISTRIBUTED_DATASYNC", "ohos.permission.MICROPHONE", "ohos.permission.INPUT_MONITORING", + "ohos.permission.INJECT_INPUT_EVENT", "ohos.permission.LOCATION", "ohos.permission.APPROXIMATELY_LOCATION", "ohos.permission.ACCESS_SERVICE_DM", @@ -33,6 +34,7 @@ ], "permission_acls" : [ "ohos.permission.INPUT_MONITORING", + "ohos.permission.INJECT_INPUT_EVENT", "ohos.permission.ACCESS_DISTRIBUTED_HARDWARE", "ohos.permission.INTERCEPT_INPUT_EVENT", "ohos.permission.MONITOR_DEVICE_NETWORK_STATE"