From 6e72b423988de274d627048c0bbf81c5bf917a2d Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Mon, 25 Jan 2021 21:38:27 +0800 Subject: [PATCH] sm7125: 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 --- .../base/core/res/res/values/config.xml | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 82fd17e..c121c24 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -1296,4 +1296,32 @@ 2 3 - \ No newline at end of file + + + MEMORY + + + OFF + + + OFF +