Rename cancelDownload() to deleteUpdate()

The method can be used to delete any update, incomplete or not.
This commit is contained in:
Gabriele M
2017-07-21 01:17:19 +02:00
parent 1e2f353b55
commit 09968f1b25
3 changed files with 3 additions and 3 deletions

View File

@@ -446,7 +446,7 @@ public class UpdaterController implements Controller {
}
@Override
public boolean cancelDownload(String downloadId) {
public boolean deleteUpdate(String downloadId) {
Log.d(TAG, "Cancelling " + downloadId);
if (!mDownloads.containsKey(downloadId) || isDownloading(downloadId)) {
return false;