文件整理

This commit is contained in:
huangzhuanghua
2016-09-02 17:14:05 +08:00
parent b1df05ea47
commit 6dd0c75cdc
84 changed files with 2020 additions and 1190 deletions

View File

@ -82,7 +82,11 @@ public class DownloadTask implements DownloadListener {
percent = Double.parseDouble(df.format(percent));
}
entry.setProgress(currSize);
entry.setPercent(percent);
if (percent == 100.0d) {
entry.setPercent(100);
} else {
entry.setPercent(percent);
}
if (percent > currPercent) {
currPercent = percent;