pull/2/head
lyy 8 years ago
parent 3667fc107b
commit c8fe27e8a9
  1. 3
      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.content.Context;
import android.util.Log; import android.util.Log;
import com.arialyy.downloadutil.core.inf.IDownloadSchedulers; 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.inf.ITaskQueue;
import com.arialyy.downloadutil.core.pool.CachePool; import com.arialyy.downloadutil.core.pool.CachePool;
import com.arialyy.downloadutil.core.pool.ExecutePool; import com.arialyy.downloadutil.core.pool.ExecutePool;
@ -132,7 +131,7 @@ final class DownloadTaskQueue implements ITaskQueue {
IDownloadSchedulers schedulers; IDownloadSchedulers schedulers;
Builder(Context context) { Builder(Context context) {
context = context.getApplicationContext(); this.context = context.getApplicationContext();
} }
public Builder setDownloadSchedulers(IDownloadSchedulers schedulers) { public Builder setDownloadSchedulers(IDownloadSchedulers schedulers) {

Loading…
Cancel
Save