mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-01-31 02:01:35 -05:00
Don't crash if an apk exists for a non-existing app
This commit is contained in:
@@ -898,6 +898,10 @@ public class DB {
|
||||
while (!c.isAfterLast()) {
|
||||
String id = c.getString(0);
|
||||
App app = apps.get(id);
|
||||
if (app == null) {
|
||||
c.moveToNext();
|
||||
continue;
|
||||
}
|
||||
boolean compatible = c.getInt(10) == 1;
|
||||
int repoid = c.getInt(11);
|
||||
if (compatible || incompatibleVersions) {
|
||||
|
||||
Reference in New Issue
Block a user