Fix regression: Don't count apps which we don't want to update

This commit is contained in:
Daniel Martí 2014-02-17 16:09:57 +01:00
parent b222887745
commit 799be52224

View File

@ -304,7 +304,7 @@ public class UpdateService extends IntentService implements ProgressListener {
if (success && changes && prefs.getBoolean(Preferences.PREF_UPD_NOTIFY, false)) {
int updateCount = 0;
for (App app : appsToUpdate.values()) {
if (app.hasUpdates(this)) {
if (app.canAndWantToUpdate(this)) {
updateCount++;
}
}