mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-29 09:11:31 -05:00
Fixed bug with only one apk being added from index for each app.
This commit is contained in:
@@ -618,7 +618,7 @@ public class UpdateService extends IntentService implements ProgressListener {
|
||||
for (Apk apk : apksToUpdate) {
|
||||
boolean known = false;
|
||||
for (Apk knownApk : knownApks) {
|
||||
if (knownApk.id.equals(apk.id) && knownApk.version.equals(knownApk.version)) {
|
||||
if (knownApk.id.equals(apk.id) && knownApk.vercode == apk.vercode) {
|
||||
known = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user