Merge "Use this.isUp() inside InterfaceConfiguration" am: 239df3cc5a
am: c6e72b30c7
Change-Id: I21739e50ed2111afdb073299f96e8cd22788034c
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user