diff --git a/Tethering/Android.bp b/Tethering/Android.bp index 091849ba26..2a39028318 100644 --- a/Tethering/Android.bp +++ b/Tethering/Android.bp @@ -65,6 +65,7 @@ java_defaults { "androidx.annotation_annotation", "connectivity-net-module-utils-bpf", "com.android.net.flags-aconfig-java", + "com.android.tethering.beta.test.flags-aconfig-java", "modules-utils-build", "modules-utils-statemachine", "networkstack-client", diff --git a/common/Android.bp b/common/Android.bp index acd2349bc9..41ced61f6c 100644 --- a/common/Android.bp +++ b/common/Android.bp @@ -20,6 +20,23 @@ package { default_applicable_licenses: ["Android-Apache-2.0"], } +aconfig_declarations { + name: "tethering.beta.test.flags", + package: "com.android.tethering.beta.test", + container: "com.android.tethering", + srcs: ["mainline_beta_end_to_end_test.aconfig"], +} + +java_aconfig_library { + name: "com.android.tethering.beta.test.flags-aconfig-java", + aconfig_declarations: "tethering.beta.test.flags", + defaults: ["framework-minus-apex-aconfig-java-defaults"], + min_sdk_version: "30", + apex_available: [ + "com.android.tethering", + ], +} + aconfig_declarations { name: "com.android.net.flags-aconfig", package: "com.android.net.flags", diff --git a/common/mainline_beta_end_to_end_test.aconfig b/common/mainline_beta_end_to_end_test.aconfig new file mode 100644 index 0000000000..453141c645 --- /dev/null +++ b/common/mainline_beta_end_to_end_test.aconfig @@ -0,0 +1,17 @@ +package: "com.android.tethering.beta.test" +container: "com.android.tethering" + +flag { + name: "beta_end_to_end_test_rw_flag" + namespace: "com_android_tethering" + description: "mainline beta RW end to end test flag" + bug: "123456789" +} + +flag { + name: "beta_end_to_end_test_fixed_ro_flag" + namespace: "com_android_tethering" + description: "mainline beta fixed RO end to end test flag" + is_fixed_read_only: true + bug: "123456789" +}