kopia lustrzana https://github.com/ryukoposting/Signal-Android
Enable WAL mode.
rodzic
fce362960f
commit
ab5d3badc2
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue