This commit is contained in:
David-Development 2015-08-24 04:09:00 +02:00
parent ae0cbad342
commit 58d8129b02

View file

@ -191,13 +191,11 @@ public class DownloadImagesService extends IntentService {
@Override @Override
public void DownloadFinished(long ThreadId, Bitmap bitmap) { public void DownloadFinished(long ThreadId, Bitmap bitmap) {
int count = maxCount - linksToImages.size(); int count = maxCount - linksToImages.size();
if(maxCount == count) { if(maxCount == count) {
notificationManager.cancel(NOTIFICATION_ID); notificationManager.cancel(NOTIFICATION_ID);
RemoveOldImages(); //RemoveOldImages();
} else { } else {
mNotificationDownloadImages mNotificationDownloadImages
.setContentText("Downloading Images for offline usage - " + (count + 1) + "/" + maxCount) .setContentText("Downloading Images for offline usage - " + (count + 1) + "/" + maxCount)