From 1754d87487cc450d4ad01b43ba400d758f60a73b Mon Sep 17 00:00:00 2001 From: fangJinliang1 Date: Sat, 2 Jul 2022 16:33:22 +0800 Subject: [PATCH] modify interface Signed-off-by: fangJinliang1 Change-Id: I25d939edc17e51af76126d7767cb566664bf20e3 --- api/@ohos.notification.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.notification.d.ts b/api/@ohos.notification.d.ts index 2031307419..7d62ec12bb 100644 --- a/api/@ohos.notification.d.ts +++ b/api/@ohos.notification.d.ts @@ -735,8 +735,8 @@ declare namespace notification { * @systemapi Hide this for inner system use. * @permission ohos.permission.NOTIFICATION_CONTROLLER */ - function setSyncNotificationEnabledForUninstallApp(userId: number, enable: boolean, callback: AsyncCallback): void; - function setSyncNotificationEnabledForUninstallApp(userId: number, enable: boolean): Promise; + function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean, callback: AsyncCallback): void; + function setSyncNotificationEnabledWithoutApp(userId: number, enable: boolean): Promise; /** * Obtains whether to sync notifications to devices that do not have the app installed. @@ -745,8 +745,8 @@ declare namespace notification { * @systemapi Hide this for inner system use. * @permission ohos.permission.NOTIFICATION_CONTROLLER */ - function getSyncNotificationEnabledForUninstallApp(userId: number, callback: AsyncCallback): void; - function getSyncNotificationEnabledForUninstallApp(userId: number): Promise; + function getSyncNotificationEnabledWithoutApp(userId: number, callback: AsyncCallback): void; + function getSyncNotificationEnabledWithoutApp(userId: number): Promise; /** * Describes a BundleOption. -- Gitee