From beb70e1883a17b7bd2e1b976ae4148cfee263d61 Mon Sep 17 00:00:00 2001 From: Dave Mankoff Date: Thu, 27 Jan 2022 08:47:36 -0500 Subject: [PATCH] Ensure VpnStatusObserver is injectable for TV Fixes: 216577782 Test: manual Change-Id: I4a463b5eccd8bcca0be9a61d421b511cd86c75d7 --- .../src/com/android/systemui/tv/TvSystemUIBinder.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/tv/TvSystemUIBinder.java b/packages/SystemUI/src/com/android/systemui/tv/TvSystemUIBinder.java index e59d2f233804d..d0fb91c9342a1 100644 --- a/packages/SystemUI/src/com/android/systemui/tv/TvSystemUIBinder.java +++ b/packages/SystemUI/src/com/android/systemui/tv/TvSystemUIBinder.java @@ -18,6 +18,7 @@ package com.android.systemui.tv; import com.android.systemui.CoreStartable; import com.android.systemui.dagger.GlobalRootComponent; +import com.android.systemui.statusbar.tv.VpnStatusObserver; import com.android.systemui.statusbar.tv.notifications.TvNotificationHandler; import dagger.Binds; @@ -34,4 +35,9 @@ interface TvSystemUIBinder { @IntoMap @ClassKey(TvNotificationHandler.class) CoreStartable bindTvNotificationHandler(TvNotificationHandler systemui); + + @Binds + @IntoMap + @ClassKey(VpnStatusObserver.class) + CoreStartable bindVpnStatusObserver(VpnStatusObserver systemui); }