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

Commit 72b3e455 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

Change-Id: I3502e999daf5c3007136e97f8b943db5dd3e1235
parents 2976beb0 c14dc41a
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));