Fix unique key violation in update service.
When two repos both add an apk with same version and id, then it would break.
This commit is contained in:
parent
87f2da7e2f
commit
45d046b445
@ -628,6 +628,7 @@ public class UpdateService extends IntentService implements ProgressListener {
|
|||||||
operations.add(updateExistingApk(apk));
|
operations.add(updateExistingApk(apk));
|
||||||
} else {
|
} else {
|
||||||
operations.add(insertNewApk(apk));
|
operations.add(insertNewApk(apk));
|
||||||
|
knownApks.add(apk); // In case another repo has the same version/id combo for this apk.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user