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

Commit cdb33922 authored by Roman Birg's avatar Roman Birg Committed by Gerrit Code Review
Browse files

framework: add config_ledCanPulse overlay setting



Some devices do not support pulsing LEDs. Allow them to hide pulse
settings.

REF: CYNGNOS-403
Change-Id: I5223d0b0db554338ed96d28028b055a47cc06ee0
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 6b465eb9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -346,4 +346,7 @@

    <!-- global actions (zen mode buttons) -->
    <java-symbol type="id" name="option4" />

    <!-- LED pulse -->
    <java-symbol type="bool" name="config_ledCanPulse" />
</resources>
+4 −0
Original line number Diff line number Diff line
@@ -813,6 +813,10 @@
         Used to decide if the user can change the colors -->
    <bool name="config_multiColorBatteryLed">false</bool>

    <!-- Do the battery/notification LEDs support pulsing?
         Used to decide if we show pulse settings -->
    <bool name="config_ledCanPulse">true</bool>

    <!-- Default value for LED off time when the battery is low on charge in miliseconds -->
    <integer name="config_notificationsBatteryLedOff">2875</integer>