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

Commit 08395dce authored by Christopher Wiley's avatar Christopher Wiley
Browse files

Add InterfaceConfiguration.isUp()

Bug: 31337216
Test: None
Change-Id: Ifd83b069472fc50c9517fc69306e7938a9e9628c
parent cbb03d1a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -124,6 +124,10 @@ public class InterfaceConfiguration implements Parcelable {
        return false;
    }

    public boolean isUp() {
        return hasFlag(FLAG_UP);
    }

    /** {@inheritDoc} */
    public int describeContents() {
        return 0;