diff --git a/customization/enterprise_device_management/Test.json b/customization/enterprise_device_management/Test.json index 5e86cfd7e8945b8469ab99557f0aef2edc12fc0d..582e5be0523918fdaa0dfc0af5baa8f1c7de69ac 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 5e6a9d1ec0a740b77fbaf6ec2ffb24b53cddc0fe..0aad02f50a05ab9ef2fc1e10b19b28d9d1e42a6a 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": [