diff options
| author | Jeff Brown <jeffbrown@google.com> | 2012-04-19 11:32:35 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-19 11:32:35 -0700 |
| commit | b4aed7f5c7b56dee063a6ee1819ba50f0b5298ca (patch) | |
| tree | 655634f6ef16aa9fbb8cd303a05ddc1023357fe8 /core/java | |
| parent | 0d7da094666d4c940dc4a9710a638d5b6c0459f6 (diff) | |
| parent | 76070d1690ef9ba2675bdc34f1405968a2123112 (diff) | |
| download | frameworks_base-b4aed7f5c7b56dee063a6ee1819ba50f0b5298ca.zip frameworks_base-b4aed7f5c7b56dee063a6ee1819ba50f0b5298ca.tar.gz frameworks_base-b4aed7f5c7b56dee063a6ee1819ba50f0b5298ca.tar.bz2 | |
Merge "Ensure that db connection reconfiguration can change the db."
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/database/sqlite/SQLiteConnection.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/database/sqlite/SQLiteConnection.java b/core/java/android/database/sqlite/SQLiteConnection.java index 04f6377..acdc488 100644 --- a/core/java/android/database/sqlite/SQLiteConnection.java +++ b/core/java/android/database/sqlite/SQLiteConnection.java @@ -390,6 +390,8 @@ public final class SQLiteConnection implements CancellationSignal.OnCancelListen // Called by SQLiteConnectionPool only. void reconfigure(SQLiteDatabaseConfiguration configuration) { + mOnlyAllowReadOnlyOperations = false; + // Register custom functions. final int functionCount = configuration.customFunctions.size(); for (int i = 0; i < functionCount; i++) { |
