Change-Id: Ic51fa5b8cd1db7f122bb126c1cb4c78e339e9ab7
send_client_paused_info(da_info);
DA_LOGD("Waiting thread for paused state");
DA_MUTEX_LOCK(&(http_info->mutex_http));
- pthread_cond_wait(&(http_info->cond_http), &(http_info->mutex_http));
+ while (http_info->state == HTTP_STATE_PAUSED)
+ pthread_cond_wait(&(http_info->cond_http), &(http_info->mutex_http));
DA_MUTEX_UNLOCK(&(http_info->mutex_http));
DA_LOGD("Wake up thread due to resume");
break;
Name: download-provider
Summary: Download the contents in background
-Version: 2.3.13
+Version: 2.3.14
Release: 0
Group: Development/Libraries
License: Apache-2.0