summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-03 00:00:31 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-03 00:00:31 +0000
commit9be8b4617b24b5939864900b23666b6c4c3fab8c (patch)
treebbe2dd30aa374573ea17b178edcb990af1c93c2d
parent8be1dac9854fd9dffa47213d68dcddb610018e73 (diff)
parente1b3f4df57f4cbc33b1d5dd07cbcdb256d7ca840 (diff)
downloadSystemUIGo-simpleperf-release.tar.gz
Snap for 11400057 from e1b3f4df57f4cbc33b1d5dd07cbcdb256d7ca840 to simpleperf-releasesimpleperf-release
Change-Id: I362d0a46d9cbd6789d226b0a80a359bf999e9dbb
-rw-r--r--src/com/android/systemui/go/SystemUIGoCoreStartableModule.java20
-rw-r--r--src/com/android/systemui/go/SystemUIGoModule.java11
2 files changed, 26 insertions, 5 deletions
diff --git a/src/com/android/systemui/go/SystemUIGoCoreStartableModule.java b/src/com/android/systemui/go/SystemUIGoCoreStartableModule.java
index a7f4a9c..6b6c948 100644
--- a/src/com/android/systemui/go/SystemUIGoCoreStartableModule.java
+++ b/src/com/android/systemui/go/SystemUIGoCoreStartableModule.java
@@ -35,6 +35,9 @@ import com.android.systemui.power.PowerUI;
import com.android.systemui.recents.Recents;
import com.android.systemui.shortcut.ShortcutKeyDispatcher;
import com.android.systemui.statusbar.notification.InstantAppNotifier;
+import com.android.systemui.statusbar.phone.LockscreenWallpaper;
+import com.android.systemui.statusbar.phone.ScrimController;
+import com.android.systemui.statusbar.phone.StatusBarHeadsUpChangeListener;
import com.android.systemui.theme.ThemeOverlayController;
import com.android.systemui.toast.ToastUI;
import com.android.systemui.usb.StorageNotification;
@@ -195,4 +198,21 @@ abstract class SystemUIGoCoreStartableModule {
@IntoMap
@ClassKey(WMShell.class)
abstract CoreStartable bindWMShell(WMShell wmShell);
+
+ /** Inject into LocskcreenWallpaper. */
+ @Binds
+ @IntoMap
+ @ClassKey(LockscreenWallpaper.class)
+ abstract CoreStartable bindLockscreenWallpaper(LockscreenWallpaper lockscreenWallpaper);
+
+ /** Inject into ScrimController. */
+ @Binds
+ @IntoMap
+ @ClassKey(ScrimController.class)
+ abstract CoreStartable bindScrimController(ScrimController scrimController);
+
+ @Binds
+ @IntoMap
+ @ClassKey(StatusBarHeadsUpChangeListener.class)
+ abstract CoreStartable bindStatusBarHeadsUpChangeListener(StatusBarHeadsUpChangeListener impl);
}
diff --git a/src/com/android/systemui/go/SystemUIGoModule.java b/src/com/android/systemui/go/SystemUIGoModule.java
index 5ca4db2..0843d3a 100644
--- a/src/com/android/systemui/go/SystemUIGoModule.java
+++ b/src/com/android/systemui/go/SystemUIGoModule.java
@@ -32,6 +32,7 @@ import com.android.systemui.dagger.qualifiers.Main;
import com.android.systemui.dock.DockManager;
import com.android.systemui.dock.DockManagerImpl;
import com.android.systemui.doze.DozeHost;
+import com.android.systemui.globalactions.ShutdownUiModule;
import com.android.systemui.media.dagger.MediaModule;
import com.android.systemui.navigationbar.gestural.GestureModule;
import com.android.systemui.plugins.qs.QSFactory;
@@ -44,9 +45,8 @@ import com.android.systemui.recents.RecentsImplementation;
import com.android.systemui.screenshot.ReferenceScreenshotModule;
import com.android.systemui.settings.dagger.MultiUserUtilsModule;
import com.android.systemui.shade.NotificationShadeWindowControllerImpl;
-import com.android.systemui.shade.ShadeController;
-import com.android.systemui.shade.ShadeControllerImpl;
import com.android.systemui.shade.ShadeExpansionStateManager;
+import com.android.systemui.shade.ShadeModule;
import com.android.systemui.statusbar.CommandQueue;
import com.android.systemui.statusbar.NotificationLockscreenUserManager;
import com.android.systemui.statusbar.NotificationLockscreenUserManagerImpl;
@@ -71,6 +71,7 @@ import com.android.systemui.statusbar.policy.IndividualSensorPrivacyControllerIm
import com.android.systemui.statusbar.policy.SensorPrivacyController;
import com.android.systemui.statusbar.policy.SensorPrivacyControllerImpl;
import com.android.systemui.volume.dagger.VolumeModule;
+import com.android.systemui.wallpapers.dagger.WallpaperModule;
import javax.inject.Named;
@@ -90,8 +91,11 @@ import dagger.Provides;
PowerModule.class,
QSModule.class,
ReferenceScreenshotModule.class,
+ ShadeModule.class,
+ ShutdownUiModule.class,
StartCentralSurfacesModule.class,
StatusBarEventsModule.class,
+ WallpaperModule.class,
VolumeModule.class
})
public abstract class SystemUIGoModule {
@@ -137,9 +141,6 @@ public abstract class SystemUIGoModule {
@Binds
abstract DockManager bindDockManager(DockManagerImpl dockManager);
- @Binds
- abstract ShadeController provideShadeController(ShadeControllerImpl shadeController);
-
@SysUISingleton
@Provides
@Named(ALLOW_NOTIFICATION_LONG_PRESS_NAME)