From 8c8373a6e110cae324bae0215646ff08eadd3ad1 Mon Sep 17 00:00:00 2001 From: "h.hu" Date: Thu, 4 Nov 2021 16:59:44 +0800 Subject: [PATCH] modify d.ts for rebootAndCleanUserData Signed-off-by: h.hu --- api/@ohos.update.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.update.d.ts b/api/@ohos.update.d.ts index 0620034b5d..327def68da 100644 --- a/api/@ohos.update.d.ts +++ b/api/@ohos.update.d.ts @@ -373,12 +373,12 @@ declare namespace update { applyNewVersion(): Promise; /** - * Reboot to clean cache. + * Reboot to clean userdata. * * @since 6 */ - rebootAndCleanCache(callback: AsyncCallback): void; - rebootAndCleanCache(): Promise; + rebootAndCleanUserData(callback: AsyncCallback): void; + rebootAndCleanUserData(): Promise; /** * verify update package. -- Gitee