代码优化

This commit is contained in:
AriaLyy
2017-03-21 21:43:55 +08:00
parent 76b9987f46
commit 80f3a38fc6
14 changed files with 160 additions and 110 deletions

View File

@@ -47,7 +47,7 @@ public class SimpleNotification {
}
public void stop() {
Aria.download(mContext).load(DOWNLOAD_URL).stop();
Aria.download(mContext).load(DOWNLOAD_URL).pause();
}
private static class DownloadCallback extends Aria.DownloadSchedulerListener {