Add InterfaceConfiguration.isUp()

Bug: 31337216
Test: None
Change-Id: Ifd83b069472fc50c9517fc69306e7938a9e9628c
This commit is contained in:
Christopher Wiley
2016-10-10 09:24:03 -07:00
parent cbb03d1ad3
commit 08395dce6a

View File

@@ -124,6 +124,10 @@ public class InterfaceConfiguration implements Parcelable {
return false;
}
public boolean isUp() {
return hasFlag(FLAG_UP);
}
/** {@inheritDoc} */
public int describeContents() {
return 0;