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

Commit c6918d07 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 am: c14dc41a

am: 72b3e455

Change-Id: I7b26ac3d77f83a3f309a5b3b333865c838b88e69
parents 8ae0edb9 72b3e455
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));