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

Commit d2dab08e authored by Brad Hinegardner's avatar Brad Hinegardner
Browse files

Hook picker default clock up to FlexClockView

Bug: 374787902
Test: manual
Flag: com.android.systemui.clock_reactive_variants
Change-Id: Ie352ec12da0c80d271e6a348b55eed4bdd10ff3d
parent f38448fc
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ import android.app.NotificationManager
import android.content.ComponentName
import android.content.Context
import android.view.LayoutInflater
import com.android.systemui.Flags
import com.android.systemui.plugins.Plugin
import com.android.systemui.plugins.PluginManager
import com.android.systemui.shared.clocks.ClockRegistry
@@ -52,7 +53,12 @@ class ClockRegistryProvider(
            backgroundDispatcher,
            isEnabled = true,
            handleAllUsers = false,
            DefaultClockProvider(context, LayoutInflater.from(context), context.resources),
            DefaultClockProvider(
                ctx = context,
                layoutInflater = LayoutInflater.from(context),
                resources = context.resources,
                isClockReactiveVariantsEnabled = Flags.clockReactiveVariants(),
            ),
            keepAllLoaded = true,
            subTag = "Picker",
        )