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

Commit 069a1311 authored by Jack Yu's avatar Jack Yu
Browse files

Cleaned up the usage of SubscriptionManger.getSubId

Cleaned up the old APIs and replaced with the new APIs.

Bug: 270094276
Test: Boot up + Basic phone funcationality tests
Merged-In: Ie68cc64241516852044bd7ea7afcdbff5b4a315f
Change-Id: Ie68cc64241516852044bd7ea7afcdbff5b4a315f
parent 8f7659ce
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2624,7 +2624,6 @@ public class SubscriptionController extends ISub.Stub {
     * @deprecated
     */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
    @Override
    @Deprecated
    public int[] getSubIds(int slotIndex) {
        if (VDBG) printStackTrace("[getSubId]+ slotIndex=" + slotIndex);
+0 −5
Original line number Diff line number Diff line
@@ -2607,11 +2607,6 @@ public class SubscriptionManagerService extends ISub.Stub {
                SubscriptionManager.INVALID_SUBSCRIPTION_ID);
    }

    @Override
    public int[] getSubIds(int slotIndex) {
        return new int[]{getSubId(slotIndex)};
    }

    /**
     * Update default sub id.
     */