From 8c87f65ced296d79404e41de39d084fce8c505a4 Mon Sep 17 00:00:00 2001 From: GlaryCastle Date: Sat, 6 Aug 2022 11:32:33 +0800 Subject: [PATCH] Signed-off-by: GlaryCastle Changes to be committed: modified: en/application-dev/reference/apis/js-apis-wallpaper.md modified: zh-cn/application-dev/reference/apis/js-apis-wallpaper.md --- en/application-dev/reference/apis/js-apis-wallpaper.md | 8 ++++---- zh-cn/application-dev/reference/apis/js-apis-wallpaper.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-wallpaper.md b/en/application-dev/reference/apis/js-apis-wallpaper.md index 15fd2c4fcd..073fdcd677 100644 --- a/en/application-dev/reference/apis/js-apis-wallpaper.md +++ b/en/application-dev/reference/apis/js-apis-wallpaper.md @@ -530,7 +530,7 @@ getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): vo Obtains the wallpaper of the specified type. This API uses an asynchronous callback to return the result. -**Required permissions**: ohos.permission.GET_WALLPAPER and ohos.permission.READ_USER_STORAGE +**Required permissions**: ohos.permission.GET_WALLPAPER **System capability**: SystemCapability.MiscServices.Wallpaper @@ -559,7 +559,7 @@ getFile(wallpaperType: WallpaperType): Promise<number> Obtains the wallpaper of the specified type. This API uses a promise to return the result. -**Required permissions**: ohos.permission.GET_WALLPAPER and ohos.permission.READ_USER_STORAGE +**Required permissions**: ohos.permission.GET_WALLPAPER **System capability**: SystemCapability.MiscServices.Wallpaper @@ -592,7 +592,7 @@ getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.Pixel Obtains the pixel image for the wallpaper of the specified type. This API uses an asynchronous callback to return the result. -**Required permissions**: ohos.permission.GET_WALLPAPER and ohos.permission.READ_USER_STORAGE +**Required permissions**: ohos.permission.GET_WALLPAPER **System capability**: SystemCapability.MiscServices.Wallpaper @@ -619,7 +619,7 @@ getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap> Obtains the pixel image for the wallpaper of the specified type. This API uses a promise to return the result. -**Required permissions**: ohos.permission.GET_WALLPAPER and ohos.permission.READ_USER_STORAGE +**Required permissions**: ohos.permission.GET_WALLPAPER **System capability**: SystemCapability.MiscServices.Wallpaper diff --git a/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md b/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md index a8a2ef957f..19ce37065e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md +++ b/zh-cn/application-dev/reference/apis/js-apis-wallpaper.md @@ -532,7 +532,7 @@ getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): vo 获取指定类型的壁纸文件。 -**需要权限**:ohos.permission.GET_WALLPAPER 和 ohos.permission.READ_USER_STORAGE +**需要权限**:ohos.permission.GET_WALLPAPER **系统能力**: SystemCapability.MiscServices.Wallpaper @@ -561,7 +561,7 @@ getFile(wallpaperType: WallpaperType): Promise<number> 获取指定类型的壁纸文件。 -**需要权限**:ohos.permission.GET_WALLPAPER 和 ohos.permission.READ_USER_STORAGE +**需要权限**:ohos.permission.GET_WALLPAPER **系统能力**: SystemCapability.MiscServices.Wallpaper @@ -594,7 +594,7 @@ getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.Pixel 获取壁纸图片的像素图。 -**需要权限**:ohos.permission.GET_WALLPAPER 和 ohos.permission.READ_USER_STORAGE +**需要权限**:ohos.permission.GET_WALLPAPER **系统能力**: SystemCapability.MiscServices.Wallpaper @@ -623,7 +623,7 @@ getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap> 获取壁纸图片的像素图。 -**需要权限**:ohos.permission.GET_WALLPAPER 和 ohos.permission.READ_USER_STORAGE +**需要权限**:ohos.permission.GET_WALLPAPER **系统能力**: SystemCapability.MiscServices.Wallpaper -- GitLab