vendor: overlay: Configure SQLite to operate in MEMORY mode

This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Change-Id: I541709fc771d4b501b56b8555e5e8a04486d0293
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
This commit is contained in:
Jesse Chan
2025-03-05 15:42:18 +08:00
committed by Zabuka_zuzu
parent 80144f0981
commit 65636c195a

View File

@@ -33,4 +33,8 @@
<string name="config_defaultContextualSearchKey">omni.entry_point</string>
<string name="config_defaultContextualSearchLegacyEnabled">omni.enable_vis</string>
<string name="config_defaultContextualSearchPackageName" translatable="false">com.google.android.googlequicksearchbox</string>
<string name="db_default_journal_mode" translatable="false">MEMORY</string>
<string name="db_default_sync_mode" translatable="false">OFF</string>
<string name="db_wal_sync_mode" translatable="false">OFF</string>
</resources>