diff --git a/security/asset/inc/asset_api.h b/security/asset/inc/asset_api.h index 38058de2e6f97ab1079770765811c860d04d489a..794a04e02009198abb8219d1a6ce72d30c63c457 100755 --- a/security/asset/inc/asset_api.h +++ b/security/asset/inc/asset_api.h @@ -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. diff --git a/security/asset/inc/asset_type.h b/security/asset/inc/asset_type.h index 9e17239b0408dbcba35e86b6f648412b542062bf..b977afbef3effc471ad0468a1c649e256d9502eb 100755 --- a/security/asset/inc/asset_type.h +++ b/security/asset/inc/asset_type.h @@ -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 OH_Asset_Add is called with this tag. - * - * @permission ohos.permission.STORE_PERSISTENT_DATA */ ASSET_TAG_IS_PERSISTENT = ASSET_TYPE_BOOL | 0x11, /**