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

Commit 0eb95475 authored by Tom Hsu's avatar Tom Hsu Committed by Automerger Merge Worker
Browse files

Merge "Selects a active sim to MobileNetworkActivity w/o subscription ID...

Merge "Selects a active sim to MobileNetworkActivity w/o subscription ID input" into sc-dev am: 939136b3 am: 1d8c6a61

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15498710

Change-Id: I01cc1d45fb1a630345a45116078838848d254076
parents 2899c874 1d8c6a61
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -257,6 +257,7 @@ public class MobileNetworkActivity extends SettingsBaseActivity
        if (currentSubInfo == null) {
            currentSubInfo = subList.stream()
                    .filter(SubscriptionAnnotation::isDisplayAllowed)
                    .filter(SubscriptionAnnotation::isActive)
                    .findFirst().orElse(null);
        }
        return (currentSubInfo == null) ? null : currentSubInfo.getSubInfo();