Put call to forget finished downloads in an else statement to prevent potential bugs
This commit is contained in:
parent
f6bbc69cf9
commit
b18236a27e
1 changed files with 2 additions and 1 deletions
|
@ -566,8 +566,9 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
|
|||
mContext.sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, mission.storage.getUri()));
|
||||
}
|
||||
}
|
||||
} else if (!delete) {
|
||||
mDownloadManager.forgetFinishedDownloads();
|
||||
}
|
||||
mDownloadManager.forgetFinishedDownloads();
|
||||
applyChanges();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue