From c59f0262683c53ffc8f1628d604fd86db6a196c5 Mon Sep 17 00:00:00 2001 From: nan-xiansen Date: Mon, 21 Mar 2022 18:07:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90resourceschedule=E3=80=91=E3=80=90mast?= =?UTF-8?q?er=E3=80=91add=20permissions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nan-xiansen Change-Id: Ia04421f6eaaf1771341ec0e06df1ab76ace52033 --- .../reminderagent/src/main/config.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/resourceschedule/resourceschedule_standard/reminderagent/src/main/config.json b/resourceschedule/resourceschedule_standard/reminderagent/src/main/config.json index acc08fd68..c8f96d619 100644 --- a/resourceschedule/resourceschedule_standard/reminderagent/src/main/config.json +++ b/resourceschedule/resourceschedule_standard/reminderagent/src/main/config.json @@ -55,6 +55,18 @@ "autoDesignWidth": false } } - ] + ], + "reqPermissions": [ + { + "name": "ohos.permission.PUBLISH_AGENT_REMINDER", + "reason": "SYSTEM_GRANT", + "usedScene": { + "ability": [ + ".FormAbility" + ], + "when": "inuse" + } + } + ] } } -- GitLab