[2.15.0] remove down load util progress log
This commit is contained in:
@@ -118,10 +118,8 @@ public class DownloadTask implements DownloadCallBack {
|
||||
public void progressCallBack(String url, int length) {
|
||||
finishedProgress += length;
|
||||
//每500毫秒发送刷新进度事件
|
||||
Log.d(DOWN_LOAD_TAG, "process:" + finishedProgress);
|
||||
if (System.currentTimeMillis() - curTime > 500 || finishedProgress == fileBean.getLength()) {
|
||||
int progress = (int) (finishedProgress * 1.0 / fileBean.getLength() * 100);
|
||||
Log.d(DOWN_LOAD_TAG, "DownloadTask ----length = " + length + " ---progress = " + progress);
|
||||
fileBean.setFinished(finishedProgress);
|
||||
DownloadData downloadData = new DownloadData();
|
||||
downloadData.setUrl(fileBean.getUrl());
|
||||
|
||||
Reference in New Issue
Block a user