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

Commit d91d78d8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use createForAllProfiles SubscriptionManager" into main

parents 650a8265 7b0adf2e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -248,6 +248,7 @@ class GnssNetworkConnectivityHandler {
            SubscriptionManager subManager = mContext.getSystemService(SubscriptionManager.class);
            TelephonyManager telManager = mContext.getSystemService(TelephonyManager.class);
            if (subManager != null && telManager != null) {
                subManager = subManager.createForAllUserProfiles();
                List<SubscriptionInfo> subscriptionInfoList =
                        subManager.getActiveSubscriptionInfoList();
                HashSet<Integer> activeSubIds = new HashSet<Integer>();