* @remarks You must add privilege http://tizen.org/privilege/content.write. And You add more privilege depending on your choice of contents path. \n
* If you want to access only internal storage by using this API, you should add privilege http://tizen.org/privilege/mediastorage. \n
* Or if you want to access only external storage by using this API, you should add privilege http://tizen.org/privilege/externalstorage. \n
- * If you can access both storage, you should add all privilege.
+ * If you can access both storage, you should add all privilege. \n
+ * This API does not support USB storage.
*
* @param[in] media The media info handle
* @param[in] dst_path The path of destination
Name: capi-content-media-content
Summary: A Media content library in Tizen Native API
-Version: 0.3.22
+Version: 0.3.23
Release: 0
Group: Multimedia/API
License: Apache-2.0
return _content_error_capi(MEDIA_CONTENT_TYPE, ret);
}
+ if (src_storage_type == MEDIA_SVC_STORAGE_EXTERNAL_USB || dst_storage_type == MEDIA_SVC_STORAGE_EXTERNAL_USB) {
+ media_content_sec_error("Unsupported storage type src[%d] dst[%d]", src_storage_type, dst_storage_type);
+ return MEDIA_CONTENT_ERROR_INVALID_PARAMETER;
+ }
+
memset(storage_id, 0x00, sizeof(storage_id));
ret = media_svc_get_storage_id(_content_get_db_handle(), org_repl_path, storage_id, _content_get_uid());
if (ret != MS_MEDIA_ERR_NONE) {