Merge "Freeze netd AIDL interface (framework)" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2e452193fb
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -730,6 +730,11 @@ public class NetworkManagementService extends INetworkManagementService.Stub {
|
||||
ActivityManager.getService().notifyCleartextNetwork(uid,
|
||||
HexDump.hexStringToByteArray(hex));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getInterfaceVersion() {
|
||||
return INetdUnsolicitedEventListener.VERSION;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user