Skip to content

Commit 9de70cd

Browse files
committed
remove plain-string post-key constructor
1 parent 8944f29 commit 9de70cd

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

android-database-sqlcipher/src/main/java/net/sqlcipher/database/SupportFactory.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,6 @@ public SupportFactory(byte[] passphrase) {
2626
this(passphrase, (SQLiteDatabaseHook)null);
2727
}
2828

29-
public SupportFactory(byte[] passphrase, final String postKeySql) {
30-
this(passphrase, new SQLiteDatabaseHook() {
31-
@Override
32-
public void preKey(SQLiteDatabase database) {
33-
// unused
34-
}
35-
36-
@Override
37-
public void postKey(SQLiteDatabase database) {
38-
if (postKeySql != null) {
39-
database.rawExecSQL(postKeySql);
40-
}
41-
}
42-
});
43-
}
44-
4529
public SupportFactory(byte[] passphrase, SQLiteDatabaseHook hook) {
4630
this.passphrase = passphrase;
4731
this.hook = hook;

0 commit comments

Comments
 (0)