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

Commit bed7b35b authored by Danny Lin's avatar Danny Lin Committed by Michael Bestas
Browse files

SystemUI: Restore analog and bubble clock styles

These will be exposed in ThemePicker.

Change-Id: Ifb83f37ab29b5d0583ae9682c0943cd501aa46ac
parent f6232ffc
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -150,6 +150,8 @@ public final class ClockManager {
        LayoutInflater layoutInflater = injectionInflater.injectable(LayoutInflater.from(context));
        LayoutInflater layoutInflater = injectionInflater.injectable(LayoutInflater.from(context));


        addBuiltinClock(() -> new DefaultClockController(res, layoutInflater, colorExtractor));
        addBuiltinClock(() -> new DefaultClockController(res, layoutInflater, colorExtractor));
        addBuiltinClock(() -> new BubbleClockController(res, layoutInflater, colorExtractor));
        addBuiltinClock(() -> new AnalogClockController(res, layoutInflater, colorExtractor));


        // Store the size of the display for generation of clock preview.
        // Store the size of the display for generation of clock preview.
        DisplayMetrics dm = res.getDisplayMetrics();
        DisplayMetrics dm = res.getDisplayMetrics();