mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 22:20:20 +00:00
Enable WAL mode.
This commit is contained in:
@@ -20,6 +20,7 @@ public class SqlCipherDatabaseHook implements SQLiteDatabaseHook {
|
||||
db.rawExecSQL("PRAGMA cipher_memory_security = OFF;");
|
||||
db.rawExecSQL("PRAGMA kdf_iter = '1';");
|
||||
db.rawExecSQL("PRAGMA cipher_page_size = 4096;");
|
||||
db.enableWriteAheadLogging();
|
||||
db.setForeignKeyConstraintsEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user