return ret;
}
-int media_svc_get_storage_id(MediaSvcHandle *handle, const char *path, char *storage_id)
+int media_svc_get_storage_id(MediaSvcHandle *handle, const char *path, char *storage_id, uid_t uid)
{
int ret = MS_MEDIA_ERR_NONE;
sqlite3 * db_handle = (sqlite3 *)handle;
media_svc_retvm_if(db_handle == NULL, MS_MEDIA_ERR_INVALID_PARAMETER, "Handle is NULL");
media_svc_retvm_if(path == NULL, MS_MEDIA_ERR_INVALID_PARAMETER, "path is NULL");
- ret = _media_svc_get_storage_uuid(db_handle, path, storage_id);
+ ret = _media_svc_get_storage_uuid(db_handle, path, storage_id, uid);
return ret;
}