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

Commit 59a90554 authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

Allow default system profile state to be overlayed



Ref: CYNGNOS-45O

Change-Id: Ib89b681b82a52d946cf2fee92a8f4281a767b93c
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent e1b61c11
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -272,4 +272,7 @@
    <!-- Default for Settings.System.SWAP_VOLUME_KEYS_ON_ROTATION -->
    <bool name="def_swap_volume_keys_on_rotation">false</bool>

    <!-- Default for Settings.System.SYSTEM_PROFILES_ENABLED -->
    <bool name="def_system_profiles_enabled">true</bool>

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

            loadBooleanSetting(stmt, Settings.System.SYSTEM_PROFILES_ENABLED,
                    R.bool.def_system_profiles_enabled);

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