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

Commit 0e2fbb89 authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

SettingsProvider: add overlay for SWAP_VOLUME_KEYS_ON_ROTATION



REF: CYNGNOS-425
Change-Id: I5ce5971f0ba6e8a73bb5926ebce7832fa357252f
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 16d4d507
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -264,4 +264,8 @@

    <!-- Defaults for Settings.Secure.SPELL_CHECKER_ENABLED. -->
    <bool name="def_spell_checker">true</bool>

    <!-- Default for Settings.System.SWAP_VOLUME_KEYS_ON_ROTATION -->
    <bool name="def_swap_volume_keys_on_rotation">false</bool>

</resources>
+3 −0
Original line number Diff line number Diff line
@@ -2634,6 +2634,9 @@ public class DatabaseHelper extends SQLiteOpenHelper {
            loadIntegerSetting(stmt, Settings.System.QS_QUICK_PULLDOWN,
                    R.integer.def_qs_quick_pulldown);

            loadBooleanSetting(stmt, Settings.System.SWAP_VOLUME_KEYS_ON_ROTATION,
                    R.bool.def_swap_volume_keys_on_rotation);

        } finally {
            if (stmt != null) stmt.close();
        }