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

Commit 985840ad authored by Robert Horvath's avatar Robert Horvath
Browse files

Disable inattentive sleep by default on TVs

Removes the default value of 4 hours for the inattentive sleep timeout
on TVs. Vendors should opt-in to this feature by overriding
`config_attentiveTimeout`.

Bug: 137633812
Test: build
Test: Check attentive timeout in `adb shell dumpsys power`
Change-Id: I09abde67839a893565112f0a041f51f0f75be164
parent bd15451f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -42,8 +42,4 @@

    <!-- Allow SystemUI to show the shutdown dialog -->
    <bool name="config_showSysuiShutdown">true</bool>

    <!-- The time in milliseconds of prolonged user inactivity after which device goes to sleep,
         even if wakelocks are held. On TVs, this defaults to 4 hours. -->
    <integer name="config_attentiveTimeout">14400000</integer>
</resources>