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

Commit 1ef7c273 authored by Malcolm Chen's avatar Malcolm Chen
Browse files

Fix bug of getActiveSubIdList returning empty subId list.

Bug: 126303384
Test: manual - use test app to call getActiveSubIdList to make sure
it doesn't return empty array
Change-Id: Ibfcdbc452c71eb5198acda557aa29f21d5be2d44
parent c27b546c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2288,7 +2288,7 @@ public class SubscriptionController extends ISub.Stub {

        if (visibleOnly) {
            // Grouped opportunistic subscriptions should be hidden.
            allSubs = allSubs.stream().filter(subId -> isInvisibleSubscription(subId))
            allSubs = allSubs.stream().filter(subId -> !isInvisibleSubscription(subId))
                    .collect(Collectors.toList());
        }