From f63f35ec58342ee6f6191e85f1610da5c2f2b4d2 Mon Sep 17 00:00:00 2001 From: zhengzhuolan Date: Mon, 14 Jul 2025 10:21:14 +0800 Subject: [PATCH] Supplementary permissions Signed-off-by: zhengzhuolan --- api/@ohos.notificationManager.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.notificationManager.d.ts b/api/@ohos.notificationManager.d.ts index c1315d7345..2f95a2e430 100644 --- a/api/@ohos.notificationManager.d.ts +++ b/api/@ohos.notificationManager.d.ts @@ -3904,7 +3904,7 @@ declare namespace notificationManager { /** * Disabling notifications based on the application list. * - * @permission ohos.permission.NOTIFICATION_CONTROLLER + * @permission ohos.permission.NOTIFICATION_CONTROLLER or ohos.permission.MANAGE_EDM_POLICY * @param { boolean } disabled - The switch of disableNotification. * @param { Array } bundleList - The bundles of disableNotification. * @returns { Promise } The promise returned by the function. @@ -3923,7 +3923,7 @@ declare namespace notificationManager { /** * Disabling notifications based on the application list. * - * @permission ohos.permission.NOTIFICATION_CONTROLLER + * @permission ohos.permission.NOTIFICATION_CONTROLLER or ohos.permission.MANAGE_EDM_POLICY * @param { boolean } disabled - The switch of disableNotification. * @param { Array } bundleList - The bundles of disableNotification. * @param { number } userId - the userId. -- Gitee