优化obu升级逻辑
This commit is contained in:
@@ -75,7 +75,6 @@ public class DownloadTask implements DownloadCallBack {
|
||||
}
|
||||
downloadCallBack.startDownload(fileBean.getUrl());
|
||||
Log.d(DOWN_LOAD_TAG, " 开始下载:" + finishedProgress);
|
||||
Log.d("liyz", " DownloadTask 开始下载:" + finishedProgress + "---fileBean.getUrl() = " + fileBean.getUrl());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -145,7 +144,6 @@ public class DownloadTask implements DownloadCallBack {
|
||||
}
|
||||
if (threads.size() == 0) {//如果列表size为0 则所有线程已下载完成
|
||||
Log.d(DOWN_LOAD_TAG, " DownloadTask threadDownLoadFinished 下载完成----->");
|
||||
Log.d("liyz", "threadDownLoadFinished ------------ 下载完成-----> ");
|
||||
//删除数据库中的信息
|
||||
dao.deleteThread(fileBean.getUrl());
|
||||
//发送下载完成事件
|
||||
|
||||
@@ -77,7 +77,6 @@ public class DownloadThread extends Thread {
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
Log.e("liyz", "DownloadThread ---1---- e = " + e);
|
||||
e.printStackTrace();
|
||||
DownloadData downloadData = new DownloadData();
|
||||
downloadData.setUrl(fileBean.getUrl());
|
||||
|
||||
Reference in New Issue
Block a user