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

Commit 98be3b29 authored by Alison Cichowlas's avatar Alison Cichowlas Committed by android-build-merger
Browse files

Merge "Set static Dependency ref after all the Deps are set up." into pi-dev am: 666be7b6

am: f2eacb2d

Change-Id: Icc78e06e0fa248fb05aea54c8ed86f8940416bca
parents 08f88e5c f2eacb2d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -151,7 +151,6 @@ public class Dependency extends SystemUI {

    @Override
    public void start() {
        sDependency = this;
        // TODO: Think about ways to push these creation rules out of Dependency to cut down
        // on imports.
        mProviders.put(TIME_TICK_HANDLER, () -> {
@@ -331,6 +330,8 @@ public class Dependency extends SystemUI {

        // Put all dependencies above here so the factory can override them if it wants.
        SystemUIFactory.getInstance().injectDependencies(mProviders, mContext);

        sDependency = this;
    }

    @Override