From f762c18df2e03f74ae4aaca5eebbc394aa472345 Mon Sep 17 00:00:00 2001 From: AriaLyy <511455842@qq.com> Date: Mon, 13 Mar 2017 16:04:16 +0800 Subject: [PATCH] bug fix --- .../main/java/com/arialyy/aria/core/download/DownloadUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Aria/src/main/java/com/arialyy/aria/core/download/DownloadUtil.java b/Aria/src/main/java/com/arialyy/aria/core/download/DownloadUtil.java index d5fd4e86..e6df82a8 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/download/DownloadUtil.java +++ b/Aria/src/main/java/com/arialyy/aria/core/download/DownloadUtil.java @@ -40,6 +40,7 @@ final class DownloadUtil implements IDownloadUtil, Runnable { * 线程数 */ private final int THREAD_NUM; + private static final long SUB_LEN = 1024 * 100; //下载监听 private IDownloadListener mListener; private int mConnectTimeOut = 5000 * 4; //连接超时时间