Merge "Use this.isUp() inside InterfaceConfiguration"

This commit is contained in:
Treehugger Robot
2016-10-19 19:15:30 +00:00
committed by Gerrit Code Review

View File

@@ -113,7 +113,7 @@ public class InterfaceConfiguration implements Parcelable {
*/ */
public boolean isActive() { public boolean isActive() {
try { try {
if (hasFlag(FLAG_UP)) { if (isUp()) {
for (byte b : mAddr.getAddress().getAddress()) { for (byte b : mAddr.getAddress().getAddress()) {
if (b != 0) return true; if (b != 0) return true;
} }