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

Commit 2152abbe authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Do not back up brightness values

- auto-brightness adjustment
- deprecated VR brightness

Bug: 242319543
Test: atest SettingsBackupTest
Test: atest SettingsBackupAgentTest
Change-Id: I77189d4b201a28bcb2f950a0fd6ef94d21f49464
Merged-In: I77189d4b201a28bcb2f950a0fd6ef94d21f49464
parent 94bd703e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -44,8 +44,6 @@ public class SystemSettings {
        Settings.System.DIM_SCREEN,
        Settings.System.SCREEN_OFF_TIMEOUT,
        Settings.System.SCREEN_BRIGHTNESS_MODE,
        Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ,
        Settings.System.SCREEN_BRIGHTNESS_FOR_VR,
        Settings.System.ADAPTIVE_SLEEP,             // moved to secure
        Settings.System.APPLY_RAMPING_RINGER,
        Settings.System.VIBRATE_INPUT_DEVICES,
+2 −0
Original line number Diff line number Diff line
@@ -102,7 +102,9 @@ public class SettingsBackupTest {
                    Settings.System.MIN_REFRESH_RATE, // depends on hardware capabilities
                    Settings.System.PEAK_REFRESH_RATE, // depends on hardware capabilities
                    Settings.System.SCREEN_BRIGHTNESS_FLOAT,
                    Settings.System.SCREEN_BRIGHTNESS_FOR_VR,
                    Settings.System.SCREEN_BRIGHTNESS_FOR_VR_FLOAT,
                    Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ,
                    Settings.System.MULTI_AUDIO_FOCUS_ENABLED, // form-factor/OEM specific
                    Settings.System.WEAR_ACCESSIBILITY_GESTURE_ENABLED
                    );