summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-04-09 14:01:51 +0900
committerRemi NGUYEN VAN <reminv@google.com>2019-04-10 11:26:25 +0900
commitef31055665a1c4c15f32c7e5d79cc701ef4a0cf2 (patch)
treedad30955de95ea43553c3182224eaf74df927032 /src
parent9f61a127c4ee8e094ede70bcfefa124624f53c65 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/com/android/server/NetworkObserverRegistry.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/server/NetworkObserverRegistry.java b/src/com/android/server/NetworkObserverRegistry.java
index 6fb4b0d..afe166b 100644
--- a/src/com/android/server/NetworkObserverRegistry.java
+++ b/src/com/android/server/NetworkObserverRegistry.java
@@ -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;
+ }
}