From 9118ddcff6aab4b674e1a1432f639d8ba74e1494 Mon Sep 17 00:00:00 2001 From: zengsiyu Date: Sat, 26 Feb 2022 19:06:37 +0800 Subject: [PATCH] fix: remove IsNotificationEnabledSelf Signed-off-by: zengsiyu Change-Id: I129788ef6748806e170d08ad4dac290a53185d09 --- api/@ohos.notification.d.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/api/@ohos.notification.d.ts b/api/@ohos.notification.d.ts index ecfb62086d..5ca1f74e4f 100644 --- a/api/@ohos.notification.d.ts +++ b/api/@ohos.notification.d.ts @@ -623,14 +623,6 @@ declare namespace notification { function isSupportTemplate(templateName: string, callback: AsyncCallback): void; function isSupportTemplate(templateName: string): Promise; - /** - * Query notification sending permission. - * - * @since 8 - */ - function isNotificationEnabledSelf(callback: AsyncCallback): void; - function isNotificationEnabledSelf(): Promise; - /** * Request permission to send notification. * -- Gitee