Merge "Update VPN event strings for the IKE lib update"

This commit is contained in:
Treehugger Robot
2022-02-09 06:28:39 +00:00
committed by Gerrit Code Review

View File

@@ -210,26 +210,19 @@ public class VpnManager {
*/ */
public static final int ERROR_CODE_NETWORK_TIMEOUT = 1; public static final int ERROR_CODE_NETWORK_TIMEOUT = 1;
/**
* An error code to indicate that the connection is refused.
*
* @hide
*/
public static final int ERROR_CODE_NETWORK_CONNECT = 2;
/** /**
* An error code to indicate the connection was reset. (e.g. SocketException) * An error code to indicate the connection was reset. (e.g. SocketException)
* *
* @hide * @hide
*/ */
public static final int ERROR_CODE_NETWORK_CONNECTION_RESET = 3; public static final int ERROR_CODE_NETWORK_RESET = 2;
/** /**
* An error code to indicate that there is an IOException. * An error code to indicate that there is an IOException.
* *
* @hide * @hide
*/ */
public static final int ERROR_CODE_NETWORK_IO = 4; public static final int ERROR_CODE_NETWORK_IO = 3;
/** @hide */ /** @hide */
@IntDef(value = {TYPE_VPN_NONE, TYPE_VPN_SERVICE, TYPE_VPN_PLATFORM, TYPE_VPN_LEGACY, @IntDef(value = {TYPE_VPN_NONE, TYPE_VPN_SERVICE, TYPE_VPN_PLATFORM, TYPE_VPN_LEGACY,