Merge "Update VPN event strings for the IKE lib update" am: 5e7da1cfc4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1976226 Change-Id: Ib83a61d746d318b3a0956076431882aa5dda2f29
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user