!1052 fix Asset Linter warning

Merge pull request !1052 from CheungVane/master
This commit is contained in:
openharmony_ci 2024-07-25 08:14:54 +00:00 committed by Gitee
commit b8fba1b085
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 4 deletions

View File

@ -48,7 +48,8 @@
extern "C" {
#endif
/**
* @brief Adds an asset.
* @brief Adds an asset. Permission ohos.permission.STORE_PERSISTENT_DATA is required when the Asset needs to be stored
* persistently by setting {@link ASSET_TAG_IS_PERSISTENT} tag.
*
* @param attributes Pointer to the attributes of the asset to add.
* @param attributes Number of the attributes of the asset to add.

View File

@ -114,9 +114,6 @@ typedef enum {
ASSET_TAG_SYNC_TYPE = ASSET_TYPE_NUMBER | 0x10,
/**
* A Boolean value indicating whether the asset needs to be stored persistently.
* The ohos.permission.STORE_PERSISTENT_DATA permission is required if <b>OH_Asset_Add</b> is called with this tag.
*
* @permission ohos.permission.STORE_PERSISTENT_DATA
*/
ASSET_TAG_IS_PERSISTENT = ASSET_TYPE_BOOL | 0x11,
/**