Fixed bug with only one apk being added from index for each app.
This commit is contained in:
parent
7d985f137f
commit
aa9bfefd55
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user