未验证 提交 062806c7 编写于 作者: O openharmony_ci 提交者: Gitee

!7828 [壁纸框架]删除不必要的权限声明ohos.permission.READ_USER_STORAGE

Merge pull request !7828 from GlaryCastle/master
...@@ -530,7 +530,7 @@ getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): vo ...@@ -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. 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 **System capability**: SystemCapability.MiscServices.Wallpaper
...@@ -559,7 +559,7 @@ getFile(wallpaperType: WallpaperType): Promise<number> ...@@ -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. 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 **System capability**: SystemCapability.MiscServices.Wallpaper
...@@ -592,7 +592,7 @@ getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.Pixel ...@@ -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. 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 **System capability**: SystemCapability.MiscServices.Wallpaper
...@@ -619,7 +619,7 @@ getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap> ...@@ -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. 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 **System capability**: SystemCapability.MiscServices.Wallpaper
......
...@@ -532,7 +532,7 @@ getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): vo ...@@ -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 **系统能力**: SystemCapability.MiscServices.Wallpaper
...@@ -561,7 +561,7 @@ getFile(wallpaperType: WallpaperType): Promise<number> ...@@ -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 **系统能力**: SystemCapability.MiscServices.Wallpaper
...@@ -594,7 +594,7 @@ getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.Pixel ...@@ -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 **系统能力**: SystemCapability.MiscServices.Wallpaper
...@@ -623,7 +623,7 @@ getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap> ...@@ -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 **系统能力**: SystemCapability.MiscServices.Wallpaper
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册