Skip to content
Snippets Groups Projects
Commit 210adac5 authored by Xiao Ma's avatar Xiao Ma Committed by Android (Google) Code Review
Browse files

Merge "Rename IDhcpLeaseCallbacks to IDhcpEventCallbacks for more generic." into rvc-dev

parents e6107d24 06c8ba0c
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ import android.net.dhcp.DhcpLeaseParcelable;
import android.net.dhcp.DhcpServerCallbacks;
import android.net.dhcp.DhcpServingParamsParcel;
import android.net.dhcp.DhcpServingParamsParcelExt;
import android.net.dhcp.IDhcpLeaseCallbacks;
import android.net.dhcp.IDhcpEventCallbacks;
import android.net.dhcp.IDhcpServer;
import android.net.ip.IpNeighborMonitor.NeighborEvent;
import android.net.ip.RouterAdvertisementDaemon.RaParams;
......@@ -462,7 +462,7 @@ public class IpServer extends StateMachine {
}
}
private class DhcpLeaseCallback extends IDhcpLeaseCallbacks.Stub {
private class DhcpLeaseCallback extends IDhcpEventCallbacks.Stub {
@Override
public void onLeasesChanged(List<DhcpLeaseParcelable> leaseParcelables) {
final ArrayList<TetheredClient> leases = new ArrayList<>();
......@@ -495,6 +495,11 @@ public class IpServer extends StateMachine {
});
}
@Override
public void onNewPrefixRequest(IpPrefix currentPrefix) {
//TODO: add specific implementation.
}
@Override
public int getInterfaceVersion() {
return this.VERSION;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment