Force repo update after DB update
This commit is contained in:
parent
f44b420473
commit
9886f59d17
@ -398,7 +398,9 @@ public class DB {
|
||||
db.execSQL("create index apk_id on " + TABLE_APK + " (id);");
|
||||
}
|
||||
|
||||
public static void resetTransient(SQLiteDatabase db) {
|
||||
public void resetTransient(SQLiteDatabase db) {
|
||||
mContext.getSharedPreferences("FDroid", Context.MODE_PRIVATE).edit()
|
||||
.putBoolean("triedEmptyUpdate", false).commit();
|
||||
db.execSQL("drop table " + TABLE_APP);
|
||||
db.execSQL("drop table " + TABLE_APK);
|
||||
db.execSQL("update " + TABLE_REPO + " set lastetag = NULL");
|
||||
|
Loading…
x
Reference in New Issue
Block a user