diff options
| author | 2016-10-17 10:30:28 -0700 | |
|---|---|---|
| committer | 2016-10-17 10:32:40 -0700 | |
| commit | 87100cce398504075bc47c5bc6b5f15f4820a786 (patch) | |
| tree | 23290ab54913a5de2105dcee4b3c06a6455332a3 | |
| parent | 9a904d68c75ceae85086b03493f4bc7f23a3acd3 (diff) | |
Use this.isUp() inside InterfaceConfiguration
Bug: 31337216
Test: Compiles
Change-Id: I968a739f9ada47b1357932d2da76451eb26c3d5f
| -rw-r--r-- | core/java/android/net/InterfaceConfiguration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/net/InterfaceConfiguration.java b/core/java/android/net/InterfaceConfiguration.java index eace8b2a5f2b..34cde089655d 100644 --- a/core/java/android/net/InterfaceConfiguration.java +++ b/core/java/android/net/InterfaceConfiguration.java @@ -113,7 +113,7 @@ public class InterfaceConfiguration implements Parcelable { */ public boolean isActive() { try { - if (hasFlag(FLAG_UP)) { + if (isUp()) { for (byte b : mAddr.getAddress().getAddress()) { if (b != 0) return true; } |