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

Commit d2a94221 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Restore removed block to create dependencies" into udc-dev

parents 3d2a6f1e 23ce0a97
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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();
    }
}