Assigned
Status Update
Comments
yb...@google.com <yb...@google.com> #2
we don't really do anything special here, just delegate to the framework behavior.
mm...@commonsware.com <mm...@commonsware.com> #3
Agreed, but that does not really help the person reading the JavaDocs for getReadableDatabase() on SupportSQLiteDatabase.
Description
Version used: 1.0.0
Devices/Android versions reproduced on: n/a
isReadOnly() returns false for a database obtained by getReadableDatabase(), even for one that has been newly created and has never been writable. See the attached project's instrumentation test.
I *think* that the JavaDoc comment supports this behavior, but it's seriously unclear. If a SupportSQLiteDatabase is always writable (beyond the disk-full scenario), getReadableDatabase() should state that more plainly.
Thanks!