mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 23:00:30 +00:00
!1052 fix Asset Linter warning
Merge pull request !1052 from CheungVane/master
This commit is contained in:
commit
b8fba1b085
@ -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.
|
||||
|
@ -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,
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user