下载配置设置
This commit is contained in:
@ -147,7 +147,7 @@ public class DownloadAdapter extends AbsRVAdapter<DownloadEntity, DownloadAdapte
|
||||
}
|
||||
|
||||
public void setDownloadNum(int num) {
|
||||
Aria.get(getContext()).setDownloadNum(num);
|
||||
Aria.get(getContext()).setMaxDownloadNum(num);
|
||||
}
|
||||
|
||||
private String covertCurrentSize(long currentSize) {
|
||||
|
@ -28,6 +28,6 @@ public class BaseApplication extends Application {
|
||||
@Override public void onCreate() {
|
||||
super.onCreate();
|
||||
AbsFrame.init(this);
|
||||
DownloadManager.init(this);
|
||||
//DownloadManager.init(this);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user