Use this.isUp() inside InterfaceConfiguration
Bug: 31337216 Test: Compiles Change-Id: I968a739f9ada47b1357932d2da76451eb26c3d5f
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user