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

Commit c14dc41a authored by yinxu's avatar yinxu Committed by android-build-merger
Browse files

Merge "Add some delays for the carrier privilege rules loading."

am: 0e0b365a

Change-Id: I292fa192457d23d0265fabca69f945c2f1d2a18f
parents b658ceaa 0e0b365a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -139,6 +139,10 @@ public class UiccProfileTest extends TelephonyTest {
        mTestHandlerThread.start();

        waitUntilReady();

        /* wait for the carrier privilege rules to be loaded */
        waitForMs(50);

        replaceInstance(UiccProfile.class, "mCatService", mUiccProfile, mCAT);
    }

@@ -221,6 +225,9 @@ public class UiccProfileTest extends TelephonyTest {

        waitUntilReady();

        /* wait for the carrier privilege rules to be loaded */
        waitForMs(50);

        assertEquals(3, mUiccProfile.getNumApplications());
        assertTrue(mUiccProfile.isApplicationOnIcc(IccCardApplicationStatus.AppType.APPTYPE_CSIM));
        assertTrue(mUiccProfile.isApplicationOnIcc(IccCardApplicationStatus.AppType.APPTYPE_ISIM));