diff --git a/api/@ohos.notificationManager.d.ts b/api/@ohos.notificationManager.d.ts index c1315d7345bc2ebd0274b5f6e4ce3bbd84cb2c2a..2f95a2e4305d7ed5540001ad1f797d4b65554b0b 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.