Fix issue with number of updates in notification

This commit is contained in:
Daniel Martí 2013-10-08 19:56:57 +02:00
parent 0624189905
commit 3c4a58b8a3

View File

@ -104,7 +104,7 @@ public class UpdateService extends IntentService implements ProgressListener {
public int getNumUpdates(List<DB.App> apps) { public int getNumUpdates(List<DB.App> apps) {
int count = 0; int count = 0;
for (DB.App app : apps) { for (DB.App app : apps) {
if (!app.toUpdate) if (app.toUpdate)
count++; count++;
} }
return count; return count;