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

Commit 23ce0a97 authored by Winson Chung's avatar Winson Chung
Browse files

Restore removed block to create dependencies

Bug: 285036830
Change-Id: I3d9beb09a98028c7711d1a30216f9a6db2f323b3
Test: Presubmit
parent 0f542678
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();
    }
}