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

Commit 3a2d6f39 authored by David Saff's avatar David Saff
Browse files

More gracefully handle teardown if mSysuiDependency is null

Bug: 403710923
Test: presubmit
Flag: TEST_ONLY
Change-Id: Icd9dea433a1179f4b8416e8410c9170f2d3f8b1a
parent d8593110
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -257,6 +257,9 @@ public abstract class SysuiTestCase {
    }

    public FakeBroadcastDispatcher getFakeBroadcastDispatcher() {
        if (mSysuiDependency == null) {
            return null;
        }
        return mSysuiDependency.getFakeBroadcastDispatcher();
    }