Think I've fixed the app updating issue.

Wwhen "populatingDetails" of an app, it's now a bit more careful.
It doesn't reject future apk files just because the app has been
updated by one repository.
This commit is contained in:
Peter Serwylo 2013-04-17 21:56:53 +10:00
parent a63a7cae01
commit 6c64bdcb16

View File

@ -179,7 +179,10 @@ public class UpdateService extends IntentService implements ProgressListener {
} }
} }
if (changes && success) { if (!changes && success) {
Log.d("FDroid", "Not updating any apps, because no repos were changed.");
} else if (changes && success) {
sendStatus(STATUS_INFO, getString(R.string.status_checking_compatibility)); sendStatus(STATUS_INFO, getString(R.string.status_checking_compatibility));
List<DB.App> acceptedapps = new ArrayList<DB.App>(); List<DB.App> acceptedapps = new ArrayList<DB.App>();
List<DB.App> prevapps = ((FDroidApp) getApplication()).getApps(); List<DB.App> prevapps = ((FDroidApp) getApplication()).getApps();