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

Commit d17a4f3c authored by Jayachandran C's avatar Jayachandran C
Browse files

Remove usage of hidden API subscriptionManager.isSubscriptionVisible

This CL uses getGroupUuid() and isOpportunistic() instead to figure
out whether the subscription is visible or not

Bug: 140768340
Test: Manual
Change-Id: Id7215eabe4e6c47a057b747fdbb3027857f2f12c
parent af357413
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -888,7 +888,7 @@ public class RecoverySystem {
        }
        List<SubscriptionInfo> invisibleSubs = new ArrayList<>();
        for (SubscriptionInfo sub : availableSubs) {
            if (sub.isEmbedded() && !subscriptionManager.isSubscriptionVisible(sub)) {
            if (sub.isEmbedded() && sub.getGroupUuid() != null && sub.isOpportunistic()) {
                invisibleSubs.add(sub);
            }
        }