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

Commit bc41956e authored by goneil's avatar goneil
Browse files

Exposed method as public for testing that reloads UiccProfile rules

Bug: 74016670
Test: simappdialog GTS tests
Change-Id: If16e4997e0f5734a28c67efb13b21c6c698310bb
parent a43d71d6
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1523,6 +1523,15 @@ public class UiccProfile extends IccCard {
        if (DBG) UiccController.sLocalLog.log("UiccProfile[" + mPhoneId + "]: " + msg);
    }

    /**
     * Reloads carrier privileges as if a change were just detected.  Useful to force a profile
     * refresh without having to physically insert or remove a SIM card.
     */
    @VisibleForTesting
    public void refresh() {
        mHandler.sendMessage(mHandler.obtainMessage(EVENT_CARRIER_PRIVILEGES_LOADED));
    }

    /**
     * Dump
     */