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

Commit 0b95831b authored by Rubin Xu's avatar Rubin Xu Committed by Automerger Merge Worker
Browse files

Merge "Disable write-ahead log on LockSettingsStorage" into sc-dev am: 34242f4c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14032787

Change-Id: Ibd892831b352b80801f6b179f6bfeb51e2f06d06
parents 695cf2c3 34242f4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -800,7 +800,7 @@ class LockSettingsStorage {

        public DatabaseHelper(Context context) {
            super(context, DATABASE_NAME, null, DATABASE_VERSION);
            setWriteAheadLoggingEnabled(true);
            setWriteAheadLoggingEnabled(false);
            // Memory optimization - close idle connections after 30s of inactivity
            setIdleConnectionTimeout(IDLE_CONNECTION_TIMEOUT_MS);
        }