Skip to content

Commit 50d507a

Browse files
Add beginTransactionReadOnly in support of SupportSQLiteDatabase
1 parent fc26a3c commit 50d507a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sqlcipher/src/main/java/net/zetetic/database/sqlcipher/SQLiteDatabase.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,10 @@ private static boolean isMainThread() {
401401
return looper != null && looper == Looper.getMainLooper();
402402
}
403403

404+
public void beginTransactionReadOnly() {
405+
beginTransaction();
406+
}
407+
404408
/**
405409
* Begins a transaction in EXCLUSIVE mode.
406410
* <p>

0 commit comments

Comments
 (0)