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

Commit 13c57a22 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Check if APN setting is null" into tm-dev am: d4513489

parents a9fcbb5e d4513489
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -979,7 +979,10 @@ public class RILUtils {
        dpi.mtuV6 = dp.getMtuV6();
        dpi.persistent = dp.isPersistent();
        dpi.preferred = dp.isPreferred();
        dpi.alwaysOn = false;
        if (dp.getApnSetting() != null) {
            dpi.alwaysOn = dp.getApnSetting().isAlwaysOn();
        }
        dpi.trafficDescriptor = convertToHalTrafficDescriptorAidl(dp.getTrafficDescriptor());

        // profile id is only meaningful when it's persistent on the modem.