From bc48fd5b4d5f7b1195a35d1f3106a2f2c3b01e8a Mon Sep 17 00:00:00 2001 From: AriaLyy <511455842@qq.com> Date: Mon, 10 Jul 2017 17:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=BB=84=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../aria/core/download/downloader/DownloadGroupUtil.java | 2 +- .../java/com/arialyy/simple/download/group/GroupModule.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Aria/src/main/java/com/arialyy/aria/core/download/downloader/DownloadGroupUtil.java b/Aria/src/main/java/com/arialyy/aria/core/download/downloader/DownloadGroupUtil.java index 90ed0cbe..241a1251 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/download/downloader/DownloadGroupUtil.java +++ b/Aria/src/main/java/com/arialyy/aria/core/download/downloader/DownloadGroupUtil.java @@ -220,7 +220,7 @@ public class DownloadGroupUtil implements IDownloadUtil { @Override public void run() { mListener.onProgress(mCurrentProgress); } - }, 1000); + }, 0, 1000); } /** diff --git a/app/src/main/java/com/arialyy/simple/download/group/GroupModule.java b/app/src/main/java/com/arialyy/simple/download/group/GroupModule.java index 7e15d112..db5c7cc3 100644 --- a/app/src/main/java/com/arialyy/simple/download/group/GroupModule.java +++ b/app/src/main/java/com/arialyy/simple/download/group/GroupModule.java @@ -32,7 +32,7 @@ public class GroupModule extends BaseModule { List getUrls() { List urls = new ArrayList<>(); - String[] str = getContext().getResources().getStringArray(R.array.download_url); + String[] str = getContext().getResources().getStringArray(R.array.group_urls); Collections.addAll(urls, str); return urls; }