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

Commit a58c58f8 authored by Jack Yu's avatar Jack Yu Committed by Android (Google) Code Review
Browse files

Merge "Fixed multiple remote SIM can't be inserted issue" into main

parents c7bd5828 42e9ab93
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2592,7 +2592,9 @@ public class SubscriptionManager {
     * Get the subscription id for specified logical SIM slot index.
     *
     * @param slotIndex The logical SIM slot index.
     * @return The subscription id. {@link #INVALID_SUBSCRIPTION_ID} if SIM is absent.
     * @return The subscription id. {@link SubscriptionManager#INVALID_SUBSCRIPTION_ID} if SIM is
     * absent. If slotIndex is {@link SubscriptionManager#SLOT_INDEX_FOR_REMOTE_SIM_SUB}, the last
     * inserted remote SIM subscription id will be returned.
     */
    public static int getSubscriptionId(int slotIndex) {
        if (!isValidSlotIndex(slotIndex)) {