Keep app.ignoreUpdates when updating app details with a new index

This commit is contained in:
Daniel Martí 2013-10-01 15:11:12 +02:00
parent a876291f12
commit 2650508999

View File

@ -1127,7 +1127,7 @@ public class DB {
values.put("antiFeatures", CommaSeparatedList.str(upapp.antiFeatures));
values.put("requirements", CommaSeparatedList.str(upapp.requirements));
values.put("compatible", upapp.compatible ? 1 : 0);
values.put("ignoreUpdates", upapp.ignoreUpdates ? 1 : 0);
values.put("ignoreUpdates", oldapp.ignoreUpdates ? 1 : 0);
if (oldapp != null) {
db.update(TABLE_APP, values, "id = ?", new String[] { oldapp.id });
} else {