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

Commit 502fd881 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Adding a setting to toggle WAL mode for contacts

Bug: 1492819
Change-Id: I577b4950c57fb4cd85bd6cfc9d3ae05fdcbefda5
parent cd47cec5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -8967,6 +8967,14 @@ public final class Settings {
         */
        public static final String DATABASE_DOWNGRADE_REASON = "database_downgrade_reason";

        /**
         * Flag to toggle journal mode WAL on or off for the contacts database. WAL is enabled by
         * default. Set to 0 to disable.
         *
         * @hide
         */
        public static final String CONTACTS_DATABASE_WAL_ENABLED = "contacts_database_wal_enabled";

        /**
         * Settings to backup. This is here so that it's in the same place as the settings
         * keys and easy to update.