diff --git a/Tethering/common/TetheringLib/Android.bp b/Tethering/common/TetheringLib/Android.bp index 9c2a59dcd77b716f22820b7c2c65bc7856d996e8..47227e38be4e0db51219b0e7007425b5ccf5becf 100644 --- a/Tethering/common/TetheringLib/Android.bp +++ b/Tethering/common/TetheringLib/Android.bp @@ -59,6 +59,9 @@ java_sdk_library { lint: { strict_updatability_linting: true, }, + aconfig_declarations: [ + "com.android.net.flags-aconfig", + ], } java_library { diff --git a/common/flags.aconfig b/common/flags.aconfig index 965354d8b3ed30610d6d5483164760974493ae61..8c448e6ffc8480ea76b8b45f3dd8da35236f9ad4 100644 --- a/common/flags.aconfig +++ b/common/flags.aconfig @@ -4,13 +4,6 @@ container: "system" # This file contains aconfig flags for FlaggedAPI annotations # Flags used from platform code must be in under frameworks -flag { - name: "forbidden_capability" - namespace: "android_core_networking" - description: "This flag controls the forbidden capability API" - bug: "302997505" -} - flag { name: "set_data_saver_via_cm" namespace: "android_core_networking" @@ -52,3 +45,38 @@ flag { description: "The flag controls the access for the parcelable TetheringRequest with getSoftApConfiguration/setSoftApConfiguration API" bug: "216524590" } + +flag { + name: "request_restricted_wifi" + namespace: "android_core_networking" + description: "Flag for API to support requesting restricted wifi" + bug: "315835605" +} + +flag { + name: "net_capability_local_network" + namespace: "android_core_networking" + description: "Flag for local network capability API" + bug: "313000440" +} + +flag { + name: "support_transport_satellite" + namespace: "android_core_networking" + description: "Flag for satellite transport API" + bug: "320514105" +} + +flag { + name: "nsd_subtypes_support_enabled" + namespace: "android_core_networking" + description: "Flag for API to support nsd subtypes" + bug: "265095929" +} + +flag { + name: "register_nsd_offload_engine_api" + namespace: "android_core_networking" + description: "Flag for API to register nsd offload engine" + bug: "301713539" +} diff --git a/framework/Android.bp b/framework/Android.bp index 1356eea1ef536636f584ed2387ef5306348385ce..8fa336a771345d5a2d308f3705b5a8cc2872e731 100644 --- a/framework/Android.bp +++ b/framework/Android.bp @@ -195,6 +195,9 @@ java_sdk_library { lint: { baseline_filename: "lint-baseline.xml", }, + aconfig_declarations: [ + "com.android.net.flags-aconfig", + ], } platform_compat_config {