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

Commit fcb468bd authored by Will Leshner's avatar Will Leshner Committed by Bryce Lee
Browse files

Add a default config for when to auto-start hub mode.

Bug: 401001786
Test: NA (config change only)
Flag: EXEMPT config change
Change-Id: Iba5ee38bcc1a20687730649353ff8ca7a0078ad0
parent 704e829f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2831,6 +2831,10 @@
    <!-- Whether dreams are disabled when ambient mode is suppressed. -->
    <bool name="config_dreamsDisabledByAmbientModeSuppressionConfig">false</bool>

    <!-- The default for the setting that controls when to auto-start hub mode.
          0 means "never" -->
    <integer name="config_whenToStartHubModeDefault">0</integer>

    <!-- The duration in milliseconds of the dream opening animation.  -->
    <integer name="config_dreamOpenAnimationDuration">250</integer>
    <!-- The duration in milliseconds of the dream closing animation.  -->
+1 −0
Original line number Diff line number Diff line
@@ -2072,6 +2072,7 @@
  <java-symbol type="bool" name="config_allowTheaterModeWakeFromWindowLayout" />
  <java-symbol type="bool" name="config_keepDreamingWhenUnplugging" />
  <java-symbol type="bool" name="config_glanceableHubEnabled" />
  <java-symbol type="integer" name="config_whenToStartHubModeDefault" />
  <java-symbol type="integer" name="config_keyguardDrawnTimeout" />
  <java-symbol type="bool" name="config_goToSleepOnButtonPressTheaterMode" />
  <java-symbol type="bool" name="config_supportLongPressPowerWhenNonInteractive" />