From c8fe27e8a9f2988d46fdb52b12bf4d00bb145f15 Mon Sep 17 00:00:00 2001 From: lyy <511455842@qq.com> Date: Thu, 3 Nov 2016 16:35:45 +0800 Subject: [PATCH] bug fix --- .../java/com/arialyy/downloadutil/core/DownloadTaskQueue.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/downloadutil/src/main/java/com/arialyy/downloadutil/core/DownloadTaskQueue.java b/downloadutil/src/main/java/com/arialyy/downloadutil/core/DownloadTaskQueue.java index 53571ee2..c7024dbb 100644 --- a/downloadutil/src/main/java/com/arialyy/downloadutil/core/DownloadTaskQueue.java +++ b/downloadutil/src/main/java/com/arialyy/downloadutil/core/DownloadTaskQueue.java @@ -3,7 +3,6 @@ package com.arialyy.downloadutil.core; import android.content.Context; import android.util.Log; import com.arialyy.downloadutil.core.inf.IDownloadSchedulers; -import com.arialyy.downloadutil.core.inf.IDownloader; import com.arialyy.downloadutil.core.inf.ITaskQueue; import com.arialyy.downloadutil.core.pool.CachePool; import com.arialyy.downloadutil.core.pool.ExecutePool; @@ -132,7 +131,7 @@ final class DownloadTaskQueue implements ITaskQueue { IDownloadSchedulers schedulers; Builder(Context context) { - context = context.getApplicationContext(); + this.context = context.getApplicationContext(); } public Builder setDownloadSchedulers(IDownloadSchedulers schedulers) {