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

Commit 0d3acacd authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Make TYPE_VPN_LEGACY no longer deprecated." am: 590949fd am: 9d524086

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675627

Change-Id: I8d483487a84d11670425326dcf278ae131b553d6
parents 7a37d828 9d524086
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ package android.net {
  }

  public class VpnManager {
    field @Deprecated public static final int TYPE_VPN_LEGACY = 3; // 0x3
    field public static final int TYPE_VPN_LEGACY = 3; // 0x3
    field public static final int TYPE_VPN_NONE = -1; // 0xffffffff
    field public static final int TYPE_VPN_OEM = 4; // 0x4
    field public static final int TYPE_VPN_PLATFORM = 2; // 0x2
+1 −3
Original line number Diff line number Diff line
@@ -78,10 +78,8 @@ public class VpnManager {

    /**
     * An IPsec VPN created by the built-in LegacyVpnRunner.
     * @deprecated new Android devices should use VPN_TYPE_PLATFORM instead.
     * @hide
     */
    @Deprecated
    @SystemApi(client = MODULE_LIBRARIES)
    public static final int TYPE_VPN_LEGACY = 3;