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

Commit 2a6dc128 authored by Ankit Gupta's avatar Ankit Gupta Committed by Abhisek Devkota
Browse files

SettingsProvider: allow ambient display/doze mode to be overlayed

Issue-id: YAM-140
Change-Id: I3c296c645281509b7860e54d4e32790881d30ed6
(cherry picked from commit 3c127952)
(cherry picked from commit c014d6c5)
parent 47d14fb9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
    <fraction name="def_window_animation_scale">100%</fraction>
    <fraction name="def_window_transition_scale">100%</fraction>
    <bool name="def_haptic_feedback">true</bool>
    <bool name="def_dozeEnabledByDefault">false</bool>

    <bool name="def_bluetooth_on">false</bool>
    <bool name="def_wifi_display_on">false</bool>
+2 −0
Original line number Diff line number Diff line
@@ -2710,6 +2710,8 @@ class DatabaseHelper extends SQLiteOpenHelper {
                    com.android.internal.R.string.config_dreamsDefaultComponent);
            loadStringSetting(stmt, Settings.Secure.SCREENSAVER_DEFAULT_COMPONENT,
                    com.android.internal.R.string.config_dreamsDefaultComponent);
            loadBooleanSetting(stmt, Settings.Secure.DOZE_ENABLED,
                                     R.bool.def_dozeEnabledByDefault);

            loadBooleanSetting(stmt, Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED,
                    R.bool.def_accessibility_display_magnification_enabled);