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

Commit 2e543686 authored by Hongguang's avatar Hongguang
Browse files

Enable ThemeOverlayController on TV

Bug: 215242376
Fix: 215242376
Test: atest android.graphics.cts.SystemPaletteTest#testThemeStyles
Change-Id: I920ea014eea1bd72b114b049c6b9f7994a82b92f
parent 8fa010d6
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import com.android.systemui.statusbar.tv.TvStatusBar
import com.android.systemui.statusbar.tv.VpnStatusObserver
import com.android.systemui.statusbar.tv.notifications.TvNotificationHandler
import com.android.systemui.statusbar.tv.notifications.TvNotificationPanel
import com.android.systemui.theme.ThemeOverlayController
import com.android.systemui.toast.ToastUI
import com.android.systemui.usb.StorageNotification
import com.android.systemui.util.NotificationChannels
@@ -108,6 +109,12 @@ abstract class TVSystemUICoreStartableModule {
    @ClassKey(StorageNotification::class)
    abstract fun bindStorageNotification(sysui: StorageNotification): CoreStartable

    /** Inject into ThemeOverlayController.  */
    @Binds
    @IntoMap
    @ClassKey(ThemeOverlayController::class)
    abstract fun bindThemeOverlayController(sysui: ThemeOverlayController): CoreStartable

    /** Inject into ToastUI.  */
    @Binds
    @IntoMap