Update flags.aconfig to follow the current APIs

This CL also specifies aconfig_declaration module in java_sdk_library
register_nsd_offload_engine will be moved to the platform flags.aconfig
in the followup CL.

Test: TH
Change-Id: I430a5f0b1e1ef2e3394cf6aa8efebbd46da41765
This commit is contained in:
Motomu Utsumi 2024-02-15 15:21:39 +09:00
parent 211e7862b6
commit 52f294cbc4
3 changed files with 41 additions and 7 deletions

View file

@ -59,6 +59,9 @@ java_sdk_library {
lint: {
strict_updatability_linting: true,
},
aconfig_declarations: [
"com.android.net.flags-aconfig",
],
}
java_library {

View file

@ -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"
}

View file

@ -195,6 +195,9 @@ java_sdk_library {
lint: {
baseline_filename: "lint-baseline.xml",
},
aconfig_declarations: [
"com.android.net.flags-aconfig",
],
}
platform_compat_config {