commit | 87100cce398504075bc47c5bc6b5f15f4820a786 | [log] [tgz] |
---|---|---|
author | Christopher Wiley <wiley@google.com> | Mon Oct 17 10:30:28 2016 -0700 |
committer | Christopher Wiley <wiley@google.com> | Mon Oct 17 10:32:40 2016 -0700 |
tree | 23290ab54913a5de2105dcee4b3c06a6455332a3 | |
parent | 9a904d68c75ceae85086b03493f4bc7f23a3acd3 [diff] [blame] |
Use this.isUp() inside InterfaceConfiguration Bug: 31337216 Test: Compiles Change-Id: I968a739f9ada47b1357932d2da76451eb26c3d5f
diff --git a/core/java/android/net/InterfaceConfiguration.java b/core/java/android/net/InterfaceConfiguration.java index eace8b2..34cde08 100644 --- a/core/java/android/net/InterfaceConfiguration.java +++ b/core/java/android/net/InterfaceConfiguration.java
@@ -113,7 +113,7 @@ */ public boolean isActive() { try { - if (hasFlag(FLAG_UP)) { + if (isUp()) { for (byte b : mAddr.getAddress().getAddress()) { if (b != 0) return true; }