From 9304243833b0271b55b781d63ff2b6d62a37d42a Mon Sep 17 00:00:00 2001 From: caiminggang Date: Mon, 21 Mar 2022 15:30:08 +0800 Subject: [PATCH] add edm permission Signed-off-by: caiminggang --- customization/enterprise_device_management/Test.json | 3 +-- .../enterprise_device_management/src/main/config.json | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/customization/enterprise_device_management/Test.json b/customization/enterprise_device_management/Test.json index 5e86cfd7e..582e5be05 100644 --- a/customization/enterprise_device_management/Test.json +++ b/customization/enterprise_device_management/Test.json @@ -24,8 +24,7 @@ { "type": "ShellKit", "run-command": [ - "chmod 644 /data/*.hap", - "param set ro.config.pass_edm_permission true" + "chmod 644 /data/*.hap" ] } ] diff --git a/customization/enterprise_device_management/src/main/config.json b/customization/enterprise_device_management/src/main/config.json index 5e6a9d1ec..0aad02f50 100644 --- a/customization/enterprise_device_management/src/main/config.json +++ b/customization/enterprise_device_management/src/main/config.json @@ -56,6 +56,10 @@ { "name":"ohos.permission.EDM_MANAGE_DATETIME", "reason":"need use EDM_MANAGE_DATETIME" + }, + { + "name":"ohos.permission.MANAGE_ADMIN", + "reason":"need use MANAGE_ADMIN" } ], "js": [ -- GitLab