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,8 +304,8 @@ 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)) {
updateCount ++;
if (app.canAndWantToUpdate(this)) {
updateCount++;
}
}