Skip to content

Commit 19c9d98

Browse files
Jeff BrownAndroid (Google) Code Review
authored andcommitted
Merge "Do not enable WAL mode for the WebView database."
2 parents 54c5462 + 9ac2d3b commit 19c9d98

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

core/java/android/webkit/WebViewDatabase.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ private void initDatabase(Context context) {
144144
null);
145145
}
146146
}
147-
mDatabase.enableWriteAheadLogging();
148147

149148
// mDatabase should not be null,
150149
// the only case is RequestAPI test has problem to create db
@@ -163,11 +162,6 @@ private void initDatabase(Context context) {
163162
mDatabase.endTransaction();
164163
}
165164
}
166-
167-
// use per table Mutex lock, turn off database lock, this
168-
// improves performance as database's ReentrantLock is
169-
// expansive
170-
mDatabase.setLockingEnabled(false);
171165
}
172166

173167
private static void upgradeDatabase() {

0 commit comments

Comments
 (0)