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

Commit 495e1a8c authored by Sanket Padawe's avatar Sanket Padawe Committed by Gerrit Code Review
Browse files

Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."

parents 68de30a2 36ad721d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -94,8 +94,8 @@ public final class TelephonyUtil {
                int subId2 = telephonyManager.getSubIdForPhoneAccount(account2);
                if (subId1 != SubscriptionManager.INVALID_SUBSCRIPTION_ID &&
                        subId2 != SubscriptionManager.INVALID_SUBSCRIPTION_ID) {
                    retval = (SubscriptionManager.getSlotId(subId1) <
                            SubscriptionManager.getSlotId(subId2)) ? -1 : 1;
                    retval = (SubscriptionManager.getSlotIndex(subId1) <
                            SubscriptionManager.getSlotIndex(subId2)) ? -1 : 1;
                }

                // Then order by package