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

Commit 0b485b9d authored by Holly Jiuyu Sun's avatar Holly Jiuyu Sun Committed by Gerrit Code Review
Browse files

Merge "Revert "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."""

parents 08346c7d 6aae4851
Loading
Loading
Loading
Loading
+15 −0
Original line number Original line Diff line number Diff line
@@ -218,6 +218,21 @@ public class UiccController extends Handler {
        }
        }
    }
    }


    /**
     * API to get all the UICC slots.
     * @return UiccSlots array.
     */
    public UiccSlot[] getUiccSlots() {
        synchronized (mLock) {
            return mUiccSlots;
        }
    }

    /** Map logicalSlot to physicalSlot, and activate the physicalSlot if it is inactive. */
    public void switchSlots(int[] physicalSlots, Message response) {
        // TODO(amitmahajan): Method implementation.
    }

    /**
    /**
     * API to get UiccSlot object for a specific physical slot index on the device
     * API to get UiccSlot object for a specific physical slot index on the device
     * @return UiccSlot object for the given physical slot index
     * @return UiccSlot object for the given physical slot index