if (data_msg && data_msg->finished) {
push_story_response_finished_notification(true);
}
-
+ if(ln_http_download_is_initialized())
ln_http_download_file(data_msg->audio_url, 100*1000);
break;
if (data_msg && data_msg->finished) {
push_story_response_finished_notification(true);
}
-
+ if(ln_http_download_is_initialized())
ln_http_download_file(data_msg->audio_url, 100*1000);
break;
return -1;
}
+ if (!g_download_service_initialized) {
+ WEARABLE_LOGW(WEARABLE_LOG_MODULE_APP, "[HTTP_DL] Service not initialized");
+ return -1;
+ }
+
ln_http_download_mail_t mail = {0};
mail.timeout_ms = timeout_ms;