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

Commit a17fc042 authored by Tom Hsu's avatar Tom Hsu
Browse files

Selects a active sim to MobileNetworkActivity w/o subscription ID input


Bug:194754151
Test: Sanity test with test build. See b/194754151#21

Change-Id: Ic3449392a7f564b69c3f42cc762ec4c9ec642797
parent 24d844a0
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();