文件整理
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user