update etc/init/cast_engine_service.cfg.

删除如下3个权限列表,解决扫描问题:

"ohos.permission.CAPTURE_SCREEN",
"ohos.permission.MONITOR_DEVICE_NETWORK_STATE",
"ohos.permission.INJECT_INPUT_EVENT"

Signed-off-by: LongestDistance <cdwango@isoftstone.com>
This commit is contained in:
LongestDistance 2024-11-01 03:36:45 +00:00 committed by Gitee
parent 7d14e8ea09
commit ae69ac94ba
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -14,26 +14,18 @@
"gid" : ["cast_engine_service", "shell", "access_token"],
"permission" : [
"ohos.permission.DISTRIBUTED_DATASYNC",
"ohos.permission.CAPTURE_SCREEN",
"ohos.permission.ACCESS_SERVICE_DM",
"ohos.permission.CAST_AUDIO_OUTPUT",
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"ohos.permission.RUNNING_STATE_OBSERVER",
"ohos.permission.MONITOR_DEVICE_NETWORK_STATE",
"ohos.permission.INTERNET",
"ohos.permission.MANAGE_SOFTBUS_NETWORK",
"ohos.permission.INJECT_INPUT_EVENT",
"ohos.permission.GET_WIFI_INFO",
"ohos.permission.GET_WIFI_PEERS_MAC",
"ohos.permission.GET_WIFI_INFO_INTERNAL",
"ohos.permission.ACCESS_CAST_ENGINE_MIRROR",
"ohos.permission.MANAGE_LOCAL_ACCOUNTS"
],
"permission_acls" : [
"ohos.permission.CAPTURE_SCREEN",
"ohos.permission.MONITOR_DEVICE_NETWORK_STATE",
"ohos.permission.INJECT_INPUT_EVENT"
],
"secon" : "u:r:cast_engine_service:s0"
}
]