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

Commit 2ffd14a1 authored by yinxu's avatar yinxu
Browse files

Expose the update() and dispose() methods of UiccProfile

Bug: 64131518
Test: Basic telephony sanity
Change-Id: Iabc3dfa31ff3ade870c968f0a07545eb1fafc58a
parent f1aec93c
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -105,7 +105,10 @@ public class UiccProfile {
        update(c, ci, ics);
    }

    void dispose() {
    /**
     * Dispose the UiccProfile.
     */
    public void dispose() {
        synchronized (mLock) {
            if (DBG) log("Disposing profile");
            if (mCatService != null) mCatService.dispose();
@@ -120,7 +123,10 @@ public class UiccProfile {
        }
    }

    void update(Context c, CommandsInterface ci, IccCardStatus ics) {
    /**
     * Update the UiccProfile.
     */
    public void update(Context c, CommandsInterface ci, IccCardStatus ics) {
        synchronized (mLock) {
            mUniversalPinState = ics.mUniversalPinState;
            mGsmUmtsSubscriptionAppIndex = ics.mGsmUmtsSubscriptionAppIndex;