Loading packages/SystemUI/tests/src/com/android/systemui/SysuiTestCase.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -86,7 +86,9 @@ public abstract class SysuiTestCase { public void SysuiTeardown() { public void SysuiTeardown() { InstrumentationRegistry.registerInstance(mRealInstrumentation, InstrumentationRegistry.registerInstance(mRealInstrumentation, InstrumentationRegistry.getArguments()); InstrumentationRegistry.getArguments()); // Reset the assert's testable looper to null. if (TestableLooper.get(this) != null) { TestableLooper.get(this).processAllMessages(); } disallowTestableLooperAsMainThread(); disallowTestableLooperAsMainThread(); SystemUIFactory.cleanup(); SystemUIFactory.cleanup(); } } Loading Loading
packages/SystemUI/tests/src/com/android/systemui/SysuiTestCase.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -86,7 +86,9 @@ public abstract class SysuiTestCase { public void SysuiTeardown() { public void SysuiTeardown() { InstrumentationRegistry.registerInstance(mRealInstrumentation, InstrumentationRegistry.registerInstance(mRealInstrumentation, InstrumentationRegistry.getArguments()); InstrumentationRegistry.getArguments()); // Reset the assert's testable looper to null. if (TestableLooper.get(this) != null) { TestableLooper.get(this).processAllMessages(); } disallowTestableLooperAsMainThread(); disallowTestableLooperAsMainThread(); SystemUIFactory.cleanup(); SystemUIFactory.cleanup(); } } Loading