SQLDroid/SQLDroid — pull request #30 by dperiwal (2014-02-07 22:36:18+00:00)
Title: In the class SQLiteDatabase, add inTransaction() method to check if the ...

...current thread has a transaction pending in the database. In the class SQLDroidConnection, modify the setAutoCommit() to invoke endTransaction() only after checking that inTransaction() is true. This safe practice is to avoid some intermittent 'database locked' behavior observed from the android.database.sqlite.SQLiteDatabase class in some versions of Android SDK.