Loading tests/telephonytests/src/com/android/internal/telephony/ServiceStateTrackerTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -350,6 +350,7 @@ public class ServiceStateTrackerTest extends TelephonyTest { @After public void tearDown() throws Exception { sst.removeCallbacksAndMessages(null); sst = null; mSSTTestHandler.quit(); mSSTTestHandler.join(); Loading tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -839,6 +839,12 @@ public abstract class TelephonyTest { } protected void tearDown() throws Exception { // Clear all remaining messages if (!mTestableLoopers.isEmpty()) { for (TestableLooper looper : mTestableLoopers) { looper.getLooper().quit(); } } // Ensure there are no references to handlers between tests. PhoneConfigurationManager.unregisterAllMultiSimConfigChangeRegistrants(); // unmonitor TestableLooper for TelephonyTest class Loading Loading
tests/telephonytests/src/com/android/internal/telephony/ServiceStateTrackerTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -350,6 +350,7 @@ public class ServiceStateTrackerTest extends TelephonyTest { @After public void tearDown() throws Exception { sst.removeCallbacksAndMessages(null); sst = null; mSSTTestHandler.quit(); mSSTTestHandler.join(); Loading
tests/telephonytests/src/com/android/internal/telephony/TelephonyTest.java +6 −0 Original line number Diff line number Diff line Loading @@ -839,6 +839,12 @@ public abstract class TelephonyTest { } protected void tearDown() throws Exception { // Clear all remaining messages if (!mTestableLoopers.isEmpty()) { for (TestableLooper looper : mTestableLoopers) { looper.getLooper().quit(); } } // Ensure there are no references to handlers between tests. PhoneConfigurationManager.unregisterAllMultiSimConfigChangeRegistrants(); // unmonitor TestableLooper for TelephonyTest class Loading