From 9ad009d33b57813b09bc9c0f4b2cf3c3b58de5c6 Mon Sep 17 00:00:00 2001 From: laoyuyu <511455842@qq.com> Date: Fri, 8 Jun 2018 01:17:16 +0800 Subject: [PATCH] bug fix --- .../com/arialyy/aria/core/command/normal/ResumeAllCmd.java | 2 +- .../main/java/com/arialyy/aria/core/common/AbsFileer.java | 5 ++++- .../java/com/arialyy/aria/core/common/AbsThreadTask.java | 1 + .../arialyy/aria/core/download/downloader/AbsGroupUtil.java | 2 +- app/src/main/AndroidManifest.xml | 4 ++-- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java b/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java index ecdc37df..2a6353ea 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java +++ b/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java @@ -56,7 +56,6 @@ final class ResumeAllCmd extends AbsNormalCmd { * @param type {@code 1}单任务下载任务;{@code 2}任务组下载任务;{@code 3} 单任务上传任务 */ private List findTaskData(int type) { - // TODO: 2018/4/20 需要测试 List tempList = new ArrayList<>(); if (type == 1) { List wrappers = DbEntity.findRelationData(DTEWrapper.class, @@ -144,6 +143,7 @@ final class ResumeAllCmd extends AbsNormalCmd { } else { te.getEntity().setState(IEntity.STATE_WAIT); createTask(te); + sendWaitState(); } } } diff --git a/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java b/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java index 40ef2e0a..a523335a 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java +++ b/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java @@ -491,7 +491,7 @@ public abstract class AbsFileer - +