Loading packages/SystemUI/tests/src/com/android/systemui/SysuiTestCase.java +3 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading Loading
packages/SystemUI/tests/src/com/android/systemui/SysuiTestCase.java +3 −1 Original line number Diff line number Diff line Loading @@ -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(); } Loading