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

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

Merge "Add getSubscriptionId API"

parents d8a6a837 f4982a08
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -57,10 +57,6 @@ public class DisableSmartForwardingTask implements Runnable {
    }

    private int getSubId(int slotIndex) {
        int[] subId = SubscriptionManager.getSubId(slotIndex);
        if (subId != null && subId.length > 0) {
            return subId[0];
        }
        return SubscriptionManager.INVALID_SUBSCRIPTION_ID;
        return SubscriptionManager.getSubscriptionId(slotIndex);
    }
}