Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19c9d98e authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Do not enable WAL mode for the WebView database."

parents 54c54622 9ac2d3bc
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -144,7 +144,6 @@ public class WebViewDatabase {
                        null);
            }
        }
        mDatabase.enableWriteAheadLogging();

        // mDatabase should not be null,
        // the only case is RequestAPI test has problem to create db
@@ -163,11 +162,6 @@ public class WebViewDatabase {
                mDatabase.endTransaction();
            }
        }

        // use per table Mutex lock, turn off database lock, this
        // improves performance as database's ReentrantLock is
        // expansive
        mDatabase.setLockingEnabled(false);
    }

    private static void upgradeDatabase() {