Merge "Fix interfaceVersion in DhcpServerCallbacks" into qt-r1-dev

This commit is contained in:
TreeHugger Robot
2019-08-15 03:27:35 +00:00
committed by Android (Google) Code Review

View File

@@ -21,13 +21,11 @@ package android.net.dhcp;
* @hide
*/
public abstract class DhcpServerCallbacks extends IDhcpServerCallbacks.Stub {
// TODO: add @Override here once the API is versioned
/**
* Get the version of the aidl interface implemented by the callbacks.
*/
@Override
public int getInterfaceVersion() {
// TODO: return IDhcpServerCallbacks.VERSION;
return 0;
return IDhcpServerCallbacks.VERSION;
}
}