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

Commit 9be807b1 authored by thuongphan's avatar thuongphan Committed by Thuong Phan
Browse files

Update 'when to show' screen saver preference setting (1/2)

Add a new boolean config to control if we should show the setting
preference to set up when to start dreaming. Next CL to update the
availability status of the preference based on the new config.

Flag: EXEMPT config change
Bug: 417996476
Test: Manually no change in the current behavior.
Change-Id: I3b9c13e02c77ff5bb3998555c7037e5aa499e8e2
parent 248f1a24
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2834,6 +2834,8 @@
        <item>1</item>
    </integer-array>

    <!-- Should we show the preference to set up when to start dreaming? -->
    <bool name="config_dreamsShowWhenToDreamSetting">true</bool>
    <!-- Are we allowed to dream while not plugged in? -->
    <bool name="config_dreamsEnabledOnBattery">false</bool>
    <!-- Minimum battery level to allow dreaming when powered.
+1 −0
Original line number Diff line number Diff line
@@ -2365,6 +2365,7 @@
  <java-symbol type="bool" name="config_dreamsSupported" />
  <java-symbol type="bool" name="config_dreamsEnabledByDefault" />
  <java-symbol type="bool" name="config_dreamsEnabledOnBattery" />
  <java-symbol type="bool" name="config_dreamsShowWhenToDreamSetting" />
  <java-symbol type="bool" name="config_dreamsActivatedOnDockByDefault" />
  <java-symbol type="bool" name="config_dreamsActivatedOnSleepByDefault" />
  <java-symbol type="bool" name="config_dreamsActivatedOnPosturedByDefault" />