Loading packages/SystemUI/tests/utils/src/com/android/systemui/SysuiTestCase.java +4 −2 Original line number Diff line number Diff line Loading @@ -132,8 +132,10 @@ public abstract class SysuiTestCase { @After public void SysuiTeardown() { if (mRealInstrumentation != null) { InstrumentationRegistry.registerInstance(mRealInstrumentation, InstrumentationRegistry.getArguments()); } if (TestableLooper.get(this) != null) { TestableLooper.get(this).processAllMessages(); // Must remove static reference to this test object to prevent leak (b/261039202) Loading Loading
packages/SystemUI/tests/utils/src/com/android/systemui/SysuiTestCase.java +4 −2 Original line number Diff line number Diff line Loading @@ -132,8 +132,10 @@ public abstract class SysuiTestCase { @After public void SysuiTeardown() { if (mRealInstrumentation != null) { InstrumentationRegistry.registerInstance(mRealInstrumentation, InstrumentationRegistry.getArguments()); } if (TestableLooper.get(this) != null) { TestableLooper.get(this).processAllMessages(); // Must remove static reference to this test object to prevent leak (b/261039202) Loading