summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2018-03-05 12:39:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-03-05 12:39:28 +0000
commitb331b02da911feb8a2fef35454178416efbccc6f (patch)
treec03d9b9c33cbca157916c22c0a395a286f546d74 /core/java
parent0b8d55e633babf71a37da1e91cb44eb6ba1cb62c (diff)
parentb152cd0aa4f333b721615bb17773b35a989245fb (diff)
Merge "Fail if the interface is not available when starting"
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/net/metrics/IpManagerEvent.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/net/metrics/IpManagerEvent.java b/core/java/android/net/metrics/IpManagerEvent.java
index a94b9284df3b..f8a63ce5f1a3 100644
--- a/core/java/android/net/metrics/IpManagerEvent.java
+++ b/core/java/android/net/metrics/IpManagerEvent.java
@@ -40,11 +40,12 @@ public final class IpManagerEvent implements Parcelable {
public static final int ERROR_STARTING_IPV6 = 5;
public static final int ERROR_STARTING_IPREACHABILITYMONITOR = 6;
public static final int ERROR_INVALID_PROVISIONING = 7;
+ public static final int ERROR_INTERFACE_NOT_FOUND = 8;
@IntDef(value = {
PROVISIONING_OK, PROVISIONING_FAIL, COMPLETE_LIFECYCLE,
ERROR_STARTING_IPV4, ERROR_STARTING_IPV6, ERROR_STARTING_IPREACHABILITYMONITOR,
- ERROR_INVALID_PROVISIONING,
+ ERROR_INVALID_PROVISIONING, ERROR_INTERFACE_NOT_FOUND,
})
@Retention(RetentionPolicy.SOURCE)
public @interface EventType {}