Reset speed and ETA when pausing downloads
This commit is contained in:
@@ -417,6 +417,8 @@ public class UpdaterController implements UpdaterControllerInt {
|
||||
entry.mDownloadClient.cancel();
|
||||
removeDownloadClient(entry);
|
||||
entry.mUpdate.setStatus(UpdateStatus.PAUSED);
|
||||
entry.mUpdate.setEta(0);
|
||||
entry.mUpdate.setSpeed(0);
|
||||
notifyUpdateChange(downloadId);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user