Restore removed block to create dependencies

Bug: 285036830
Change-Id: I3d9beb09a98028c7711d1a30216f9a6db2f323b3
Test: Presubmit
This commit is contained in:
Winson Chung
2023-06-14 23:29:12 +00:00
parent 0f5426786d
commit 23ce0a97a6

View File

@@ -710,4 +710,19 @@ public abstract class WMShellModule {
static DesktopModeTaskRepository provideDesktopModeTaskRepository() {
return new DesktopModeTaskRepository();
}
//
// Misc
//
// TODO: Temporarily move dependencies to this instead of ShellInit since that is needed to add
// the callback. We will be moving to a different explicit startup mechanism in a follow- up CL.
@WMSingleton
@ShellCreateTriggerOverride
@Provides
static Object provideIndependentShellComponentsToCreate(
DefaultMixedHandler defaultMixedHandler,
Optional<DesktopModeController> desktopModeController) {
return new Object();
}
}