Use this.isUp() inside InterfaceConfiguration

Bug: 31337216
Test: Compiles
Change-Id: I968a739f9ada47b1357932d2da76451eb26c3d5f
This commit is contained in:
Christopher Wiley
2016-10-17 10:30:28 -07:00
parent 9a904d68c7
commit 87100cce39

View File

@@ -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;
}