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

Commit 434fa420 authored by Craig Lafayette's avatar Craig Lafayette
Browse files

Fix build. Use isValidSubscriptionId in DcTracker.

Change-Id: I1cd2250a78daaac896070fbff58ad2c1a75c3b7f
parent 7a71b5bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -717,7 +717,7 @@ public final class DcTracker extends DcTrackerBase {
            psRestricted = false;
        }
        int dataSub = SubscriptionManager.getDefaultDataSubId();
        boolean defaultDataSelected = SubscriptionManager.isValidSubId(dataSub);
        boolean defaultDataSelected = SubscriptionManager.isValidSubscriptionId(dataSub);

        boolean allowed =
                    (attachedState || mAutoAttachOnCreation) &&