Skip to content
Snippets Groups Projects
Commit eec0ed40 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Freeze netd AIDL interface (framework)

This freezes the interface as of the latest beta build, although it has
not changed since then.
This change adds the necessary implementations for getInterfaceVersion.

Test: flashed, WiFi working
Bug: 128803828
Change-Id: I43a6a38685d5fbc669cd573c4d7e7f99bd596952
parent 825181be
No related branches found
No related tags found
No related merge requests found
......@@ -181,4 +181,9 @@ public class NetworkObserverRegistry extends INetdUnsolicitedEventListener.Stub
@Override
public void onStrictCleartextDetected(int uid, String hex) {}
@Override
public int getInterfaceVersion() {
return INetdUnsolicitedEventListener.VERSION;
}
}
......@@ -725,6 +725,11 @@ public class NetworkManagementService extends INetworkManagementService.Stub {
ActivityManager.getService().notifyCleartextNetwork(uid,
HexDump.hexStringToByteArray(hex));
}
@Override
public int getInterfaceVersion() {
return INetdUnsolicitedEventListener.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