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

Commit 127f9a8c authored by Hawkwood Glazier's avatar Hawkwood Glazier
Browse files

Modernize Lockscreen Clocks flag

Bug: 376034313
Test: Manually checked
Flag: com.android.systemui.lockscreen_custom_clocks
Change-Id: I1201fc38c79f117a162739bd09d6176da9d0159e
parent dd5840f5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -557,6 +557,13 @@ flag {
   bug: "343495953"
}

flag {
   name: "lockscreen_custom_clocks"
   namespace: "systemui"
   description: "Enable lockscreen custom clocks"
   bug: "378486437"
}

flag {
   name: "faster_unlock_transition"
   namespace: "systemui"
+2 −1
Original line number Diff line number Diff line
@@ -62,7 +62,8 @@ public abstract class ClockRegistryModule {
                scope,
                mainDispatcher,
                bgDispatcher,
                featureFlags.isEnabled(Flags.LOCKSCREEN_CUSTOM_CLOCKS),
                com.android.systemui.Flags.lockscreenCustomClocks()
                        || featureFlags.isEnabled(Flags.LOCKSCREEN_CUSTOM_CLOCKS),
                /* handleAllUsers= */ true,
                new DefaultClockProvider(
                        context,
+3 −1
Original line number Diff line number Diff line
@@ -430,7 +430,9 @@ constructor(
            ),
            KeyguardPickerFlag(
                name = Contract.FlagsTable.FLAG_NAME_CUSTOM_CLOCKS_ENABLED,
                value = featureFlags.isEnabled(Flags.LOCKSCREEN_CUSTOM_CLOCKS),
                value =
                    com.android.systemui.Flags.lockscreenCustomClocks() ||
                        featureFlags.isEnabled(Flags.LOCKSCREEN_CUSTOM_CLOCKS),
            ),
            KeyguardPickerFlag(
                name = Contract.FlagsTable.FLAG_NAME_WALLPAPER_FULLSCREEN_PREVIEW,