This commit is contained in:
huangzhuanghua
2016-05-25 14:36:47 +08:00
parent 547f27f19b
commit 8a5a099151
2 changed files with 6 additions and 14 deletions

View File

@ -151,12 +151,8 @@ public class DownloadThread extends Thread {
}
}
public void pause() {
status = DownloadStatus.pause;
}
public void cancle() {
status = DownloadStatus.cancel;
public void setStatus(DownloadStatus status) {
this.status = status;
}
}