修复不支持断点的连接下载失败问题,https://github.com/AriaLyy/Aria/issues/771

This commit is contained in:
laoyuyu
2020-09-23 20:45:29 +08:00
parent 514fa4321d
commit 68c992962b
3 changed files with 7 additions and 7 deletions

View File

@@ -70,12 +70,9 @@ public final class NormalTTBuilder implements IThreadTaskBuilder {
private List<IThreadTask> handleNoSupportBP() {
List<IThreadTask> list = new ArrayList<>();
mStartThreadNum = 1;
mRecord.isBlock = false;
mRecord.update();
IThreadTask task = createSingThreadTask(mRecord.threadRecords.get(0), 1);
if (task == null) {
ALog.e(TAG, "创建线程任务失败");
return null;
}
list.add(task);
return list;
}