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

Commit ba7c85e0 authored by fionaxu's avatar fionaxu
Browse files

Change getGroupIdLevel1() to use subId from TelephonyManager Instance

Bug: 77905912
Test: Build
Change-Id: I7b341bda93fda9c7c8edccb43b6cff4e5f499967
(cherry picked from commit 7f91b4c9)
Merged-in: 7f91b4c9
parent fa6f40f3
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -495,10 +495,6 @@ public class PhoneSubInfoController extends IPhoneSubInfo.Stub {
        return uiccApp.getIccRecords().getIccSimChallengeResponse(authType, data);
    }

    public String getGroupIdLevel1(String callingPackage) {
        return getGroupIdLevel1ForSubscriber(getDefaultSubscription(), callingPackage);
    }

    public String getGroupIdLevel1ForSubscriber(int subId, String callingPackage) {
        Phone phone = getPhone(subId);
        if (phone != null) {