Merge "Use this.isUp() inside InterfaceConfiguration"
am: 239df3cc5a
Change-Id: Id6f064d7a74e41d757de2499653671fc830d217b
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