Fix crashes when changing ignore updates checkboxes
This commit is contained in:
parent
e1ad61a974
commit
1cc01b6c73
@ -1264,8 +1264,8 @@ public class DB {
|
||||
|
||||
public void setIgnoreUpdates(String appid, boolean All, int This) {
|
||||
db.execSQL("update " + TABLE_APP + " set"
|
||||
+ (All ? " ignoreAllUpdates="+All : "")
|
||||
+ (This>0 ? " ignoreThisUpdate="+This : "")
|
||||
+ " ignoreAllUpdates=" + (All ? '1' : '0')
|
||||
+ ", ignoreThisUpdate="+This
|
||||
+ " where id = ?", new String[] { appid });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user