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

Commit b46f7183 authored by Steve Kondik's avatar Steve Kondik Committed by Brint E. Kriebel
Browse files

settings: Fix livedisplay settings

 * Since moving this to internal settings vs. kernel settings, the
   parameters were wrong and changes set via settings weren't being
   applied. Fixit.

Change-Id: I0676f6069729878b644914abe0ad0bca8a053c9e
(cherry picked from commit fe076e33)
Ticket: CYNGNOS-460
parent 2a6ebd2a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -35,14 +35,14 @@

        <!-- Outdoor mode / SRE -->
        <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
                android:key="live_display_auto_outdoor_mode"
                android:key="display_auto_outdoor_mode"
                android:title="@string/live_display_outdoor_mode_title"
                android:summary="@string/live_display_outdoor_mode_summary"
                android:defaultValue="true" />

        <!-- Adaptive backlight -->
        <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
                android:key="live_display_low_power"
                android:key="display_low_power"
                android:title="@string/live_display_low_power_title"
                android:summary="@string/live_display_low_power_summary"
                android:defaultValue="true"
@@ -50,7 +50,7 @@

        <!-- Color enhancement -->
        <com.android.settings.cyanogenmod.SystemSettingSwitchPreference
                android:key="live_display_color_enhance"
                android:key="display_color_enhance"
                android:title="@string/live_display_enhance_color_title"
                android:summary="@string/live_display_enhance_color_summary"
                android:defaultValue="true"
+3 −3
Original line number Diff line number Diff line
@@ -60,9 +60,9 @@ public class LiveDisplay extends SettingsPreferenceFragment implements

    private static final String KEY_LIVE_DISPLAY = "live_display";
    private static final String KEY_LIVE_DISPLAY_AUTO_OUTDOOR_MODE =
            "live_display_auto_outdoor_mode";
    private static final String KEY_LIVE_DISPLAY_LOW_POWER = "live_display_low_power";
    private static final String KEY_LIVE_DISPLAY_COLOR_ENHANCE = "live_display_color_enhance";
            "display_auto_outdoor_mode";
    private static final String KEY_LIVE_DISPLAY_LOW_POWER = "display_low_power";
    private static final String KEY_LIVE_DISPLAY_COLOR_ENHANCE = "display_color_enhance";
    private static final String KEY_LIVE_DISPLAY_TEMPERATURE = "live_display_color_temperature";

    private static final String KEY_DISPLAY_COLOR = "color_calibration";