From 833df4bc2d98a07682e38bf8e34401d34514b6a6 Mon Sep 17 00:00:00 2001 From: liangZ15 Date: Thu, 31 Mar 2022 11:17:18 +0800 Subject: [PATCH 1/2] Signed-off-by: liangZ15 --- systemres/main/config.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/systemres/main/config.json b/systemres/main/config.json index 9f14ed89..9f9ecdfb 100644 --- a/systemres/main/config.json +++ b/systemres/main/config.json @@ -567,6 +567,20 @@ "availableLevel": "system_basic", "provisionEnable": true, "distributedSceneEnable": false + }, + { + "name": "ohos.permission.UPDATE_SYSTEM", + "grantMode": "system_grant", + "availableLevel": "system_basic", + "provisionEnable": true, + "distributedSceneEnable": false + }, + { + "name": "ohos.permission.FACTORY_RESET", + "grantMode": "system_grant", + "availableLevel": "system_basic", + "provisionEnable": true, + "distributedSceneEnable": false }, { "name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS", -- Gitee From 1f4e800e45d2805a5568d88212146d7fbbc93ba2 Mon Sep 17 00:00:00 2001 From: liangZ15 Date: Thu, 31 Mar 2022 11:19:14 +0800 Subject: [PATCH 2/2] Signed-off-by: liangZ15 --- systemres/main/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemres/main/config.json b/systemres/main/config.json index 9f9ecdfb..095a0b2b 100644 --- a/systemres/main/config.json +++ b/systemres/main/config.json @@ -568,14 +568,14 @@ "provisionEnable": true, "distributedSceneEnable": false }, - { + { "name": "ohos.permission.UPDATE_SYSTEM", "grantMode": "system_grant", "availableLevel": "system_basic", "provisionEnable": true, "distributedSceneEnable": false }, - { + { "name": "ohos.permission.FACTORY_RESET", "grantMode": "system_grant", "availableLevel": "system_basic", -- Gitee