Adds setNetworkAllowlist and freeze AIDL to v13
Add this interface so that CS can tell netd the network is allowed for
the given UID ranges.
Freeze AIDL to v13.
Test: netd_integration_test
Change-Id: I00c45a663dc917fc0ba4da5a99828edad1562d8c
diff --git a/staticlibs/netd/Android.bp b/staticlibs/netd/Android.bp
index 057ea2a..525160d 100644
--- a/staticlibs/netd/Android.bp
+++ b/staticlibs/netd/Android.bp
@@ -21,7 +21,7 @@
sdk_version: "system_current",
min_sdk_version: "29",
static_libs: [
- "netd_aidl_interface-V12-java",
+ "netd_aidl_interface-V13-java",
],
apex_available: [
"//apex_available:platform", // used from services.net
@@ -44,7 +44,7 @@
cc_library_static {
name: "netd_aidl_interface-lateststable-ndk",
whole_static_libs: [
- "netd_aidl_interface-V12-ndk",
+ "netd_aidl_interface-V13-ndk",
],
apex_available: [
"com.android.resolv",
@@ -55,12 +55,12 @@
cc_defaults {
name: "netd_aidl_interface_lateststable_cpp_static",
- static_libs: ["netd_aidl_interface-V12-cpp"],
+ static_libs: ["netd_aidl_interface-V13-cpp"],
}
cc_defaults {
name: "netd_aidl_interface_lateststable_cpp_shared",
- shared_libs: ["netd_aidl_interface-V12-cpp"],
+ shared_libs: ["netd_aidl_interface-V13-cpp"],
}
aidl_interface {
@@ -158,6 +158,10 @@
version: "12",
imports: [],
},
+ {
+ version: "13",
+ imports: [],
+ },
],