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

Commit b87b3b8f authored by Collin Fijalkovich's avatar Collin Fijalkovich Committed by Android (Google) Code Review
Browse files

Merge "Disable Telephony service handle caching while testing."

parents 0c13821b 3ff84ba1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -390,6 +390,7 @@ public abstract class TelephonyTest {
    protected void setUp(String tag) throws Exception {
        TAG = tag;
        MockitoAnnotations.initMocks(this);
        TelephonyManager.disableServiceHandleCaching();

        mPhones = new Phone[] {mPhone};
        mImsCallProfile = new ImsCallProfile();
@@ -658,6 +659,7 @@ public abstract class TelephonyTest {
        sharedPreferences.edit().clear().commit();

        restoreInstances();
        TelephonyManager.enableServiceHandleCaching();
    }

    protected static void logd(String s) {