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

Commit a29dfab3 authored by Lucas Silva's avatar Lucas Silva
Browse files

Update custom clock flag to a resource

This will allow the flag to be overridden on a per-device basis.

Bug: 281528246
Test: mp droid and verified that clocks are no longer present on device
which overrides this resource to false

Change-Id: I73022590bb61a28ee03166a9a29981efb090ded9
parent b4eb0b77
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -28,6 +28,8 @@
    <!-- Will display the bouncer on one side of the display, and the current user icon and
         user switcher on the other side -->
    <bool name="config_enableBouncerUserSwitcher">false</bool>
    <!-- Will enable custom clocks on the lockscreen -->
    <bool name="config_enableLockScreenCustomClocks">true</bool>
    <!-- Time to be considered a consecutive fingerprint failure in ms -->
    <integer name="fp_consecutive_failure_time_ms">3500</integer>
</resources>
+6 −1
Original line number Diff line number Diff line
@@ -115,7 +115,12 @@ object Flags {
        resourceBooleanFlag(204, R.bool.config_enableBouncerUserSwitcher, "bouncer_user_switcher")

    // TODO(b/254512676): Tracking Bug
    @JvmField val LOCKSCREEN_CUSTOM_CLOCKS = releasedFlag(207, "lockscreen_custom_clocks")
    @JvmField
    val LOCKSCREEN_CUSTOM_CLOCKS = resourceBooleanFlag(
        207,
        R.bool.config_enableLockScreenCustomClocks,
        "lockscreen_custom_clocks"
    )

    // TODO(b/275694445): Tracking Bug
    @JvmField