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

Commit 5bd9229f authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Process all messages of TestLooper after each test" into rvc-dev am: 78697715

Change-Id: I903cf331ee3d8f9bd8180811b01eb23a314d7c0b
parents 263292ba 78697715
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -86,7 +86,9 @@ public abstract class SysuiTestCase {
    public void SysuiTeardown() {
        InstrumentationRegistry.registerInstance(mRealInstrumentation,
                InstrumentationRegistry.getArguments());
        // Reset the assert's testable looper to null.
        if (TestableLooper.get(this) != null) {
            TestableLooper.get(this).processAllMessages();
        }
        disallowTestableLooperAsMainThread();
        SystemUIFactory.cleanup();
    }