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

Commit baa22421 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Add assert to TelephonyTest#setup"

am: d06f5439

Change-Id: Ic015bef62db68171e4491e0ca5fb6b127c2f6caf
parents bcecc222 d06f5439
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.internal.telephony;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import static org.mockito.Matchers.anyBoolean;
import static org.mockito.Matchers.anyLong;
@@ -499,6 +500,8 @@ public abstract class TelephonyTest {
        replaceInstance(PhoneFactory.class, "sSubInfoRecordUpdater", null, mSubInfoRecordUpdater);
        replaceInstance(RadioConfig.class, "sRadioConfig", null, mMockRadioConfig);

        assertNotNull("Failed to set up SubscriptionController singleton",
                SubscriptionController.getInstance());
        setReady(false);
    }