Merge "Restore removed block to create dependencies" into udc-dev
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user