diff --git a/api/@ohos.notification.d.ts b/api/@ohos.notification.d.ts index 2031307419a4019a4dfb4f14153e2f997918b5e3..7d62ec12bb0cd4374e106553b42953ced80a3c0c 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.