android_packages_modules_Co.../common/flags.aconfig
Oriol Prieto Gasco 646b09fc91 Export flags used in FlaggedApi annotations
Before calling a flagged API, client code must check the value of the flag
which gates it. Those flags must be exported in order to be accessible from
containers other than the container where the flag and the API are hosted.

Bug: 320984775
Bug: 322839671

Test: m all_aconfig_declarations
Test: printflags --format='{fully_qualified_name}:{is_exported}' | grep true

Change-Id: I61f18732a5c8a69acb6e645b6bf04b7a08adb513
2024-03-08 14:14:36 +00:00

85 lines
2.2 KiB
Text

package: "com.android.net.flags"
container: "system"
# This file contains aconfig flags for FlaggedAPI annotations
# Flags used from platform code must be in under frameworks
flag {
name: "set_data_saver_via_cm"
is_exported: true
namespace: "android_core_networking"
description: "Set data saver through ConnectivityManager API"
bug: "297836825"
}
flag {
name: "support_is_uid_networking_blocked"
is_exported: true
namespace: "android_core_networking"
description: "This flag controls whether isUidNetworkingBlocked is supported"
bug: "297836825"
}
flag {
name: "basic_background_restrictions_enabled"
is_exported: true
namespace: "android_core_networking"
description: "Block network access for apps in a low importance background state"
bug: "304347838"
}
flag {
name: "ipsec_transform_state"
is_exported: true
namespace: "android_core_networking_ipsec"
description: "The flag controls the access for getIpSecTransformState and IpSecTransformState"
bug: "308011229"
}
flag {
name: "tethering_request_with_soft_ap_config"
is_exported: true
namespace: "android_core_networking"
description: "The flag controls the access for the parcelable TetheringRequest with getSoftApConfiguration/setSoftApConfiguration API"
bug: "216524590"
}
flag {
name: "request_restricted_wifi"
is_exported: true
namespace: "android_core_networking"
description: "Flag for API to support requesting restricted wifi"
bug: "315835605"
}
flag {
name: "net_capability_local_network"
is_exported: true
namespace: "android_core_networking"
description: "Flag for local network capability API"
bug: "313000440"
}
flag {
name: "support_transport_satellite"
is_exported: true
namespace: "android_core_networking"
description: "Flag for satellite transport API"
bug: "320514105"
}
flag {
name: "nsd_subtypes_support_enabled"
is_exported: true
namespace: "android_core_networking"
description: "Flag for API to support nsd subtypes"
bug: "265095929"
}
flag {
name: "register_nsd_offload_engine_api"
is_exported: true
namespace: "android_core_networking"
description: "Flag for API to register nsd offload engine"
bug: "301713539"
}