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

Commit 21258c3e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add ApnType.ENTERPRISE"

parents 2cf2273c 36e8cddf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -207,6 +207,8 @@ public class DataUtils {
                return ApnSetting.TYPE_MCX;
            case NetworkCapabilities.NET_CAPABILITY_IA:
                return ApnSetting.TYPE_IA;
            case NetworkCapabilities.NET_CAPABILITY_ENTERPRISE:
                return ApnSetting.TYPE_ENTERPRISE;
            default:
                return ApnSetting.TYPE_NONE;
        }
@@ -243,7 +245,8 @@ public class DataUtils {
            case ApnSetting.TYPE_IA:
                return NetworkCapabilities.NET_CAPABILITY_IA;
            // Do not add TYPE_VSIM, TYPE_BIP, TYPE_HIPRI
            // TODO: Add ENTERPRISE here if needed.
            case ApnSetting.TYPE_ENTERPRISE:
                return NetworkCapabilities.NET_CAPABILITY_ENTERPRISE;
            default:
                return -1;
        }