Change-Id: If59f62383d00127590ab41d44ac86ee27cb2e9c2
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
Signed-off-by: Seokpil Park <seokpil.park@samsung.com>
{
int ret = 0;
+ // Set the callback functions
+ result r = RegisterCallback((int)reqId);
+ SysTryReturnResult(NID_CNT, r == E_SUCCESS, E_SYSTEM, "The internal system service is not available.");
+
// Resume the download request
ret = download_start((int)reqId);
SysTryReturnResult(NID_CNT, ret != DOWNLOAD_ERROR_INVALID_PARAMETER, E_INVALID_ARG, "There is no download request for the request.");