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

Commit e8d060a9 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 am: 2c6cd5b6

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

Change-Id: Id942def631ce2476267040245196e258a84e6f3c
parents deeda016 2c6cd5b6
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();