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

Skip to content
Commit 9ac2d3bc authored by Jeff Brown's avatar Jeff Brown
Browse files

Do not enable WAL mode for the WebView database.

There is no need to enable WAL for the WebView database because it
does not require high throughput.

Enabling WAL increases memory usage and can also cause problems if
the same database is opened in multiple processes, which can happen
if an application has UI code running in multiple processes.  Normally,
we would use a content provider to ensure that the database is only
opened within one process (and then accessed remotely view RPC), but
we can't do that for WebView because it is part of the framework.

Deleted the call to setLockingEnabled.  It does nothing.

Bug: 6124556
Change-Id: Ic397c74872fe6b1246da0c859eab0d5147045c86
parent d67c8c67
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment