Add implementation of getInterfaceHash()
Bug: 136065010 Test: m Change-Id: I314f19aeca82cc8653eab71c9526ea7a208e6b50
This commit is contained in:
parent
162e0a5d17
commit
60f090a8ff
3 changed files with 15 additions and 0 deletions
|
|
@ -28,4 +28,9 @@ public abstract class DhcpServerCallbacks extends IDhcpServerCallbacks.Stub {
|
|||
public int getInterfaceVersion() {
|
||||
return IDhcpServerCallbacks.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return IDhcpServerCallbacks.HASH;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -301,6 +301,11 @@ public class IpServer extends StateMachine {
|
|||
public int getInterfaceVersion() {
|
||||
return this.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return this.HASH;
|
||||
}
|
||||
}
|
||||
|
||||
private class DhcpServerCallbacksImpl extends DhcpServerCallbacks {
|
||||
|
|
|
|||
|
|
@ -67,4 +67,9 @@ public class BaseNetdUnsolicitedEventListener extends INetdUnsolicitedEventListe
|
|||
public int getInterfaceVersion() {
|
||||
return INetdUnsolicitedEventListener.VERSION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getInterfaceHash() {
|
||||
return INetdUnsolicitedEventListener.HASH;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue