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: Ice408bfc5db107c1b4db043fd9a2cdcf05498bc9
diff --git a/flags/calling.aconfig b/flags/calling.aconfig
index f8de8b2..fa01bda 100644
--- a/flags/calling.aconfig
+++ b/flags/calling.aconfig
@@ -2,6 +2,7 @@
flag {
name: "simultaneous_calling_indications"
+ is_exported: true
namespace: "telephony"
description: "APIs that are used to notify simultaneous calling changes to other applications."
bug: "297446980"
diff --git a/flags/data.aconfig b/flags/data.aconfig
index 6334803..ee3cdcd 100644
--- a/flags/data.aconfig
+++ b/flags/data.aconfig
@@ -61,6 +61,7 @@
flag {
name: "slicing_additional_error_codes"
+ is_exported: true
namespace: "telephony"
description: "Support additional slicing error codes and functionality."
bug: "307378699"
@@ -68,6 +69,7 @@
flag {
name: "apn_setting_field_support_flag"
+ is_exported: true
namespace: "telephony"
description: "Expose apn setting supporting field"
bug: "307038091"
@@ -75,6 +77,7 @@
flag {
name: "network_validation"
+ is_exported: true
namespace: "telephony"
description: "Request network validation for data networks and response status."
bug:"286171724"
diff --git a/flags/domainselection.aconfig b/flags/domainselection.aconfig
index 2e1dfc8..71d704c 100644
--- a/flags/domainselection.aconfig
+++ b/flags/domainselection.aconfig
@@ -16,6 +16,7 @@
flag {
name: "use_oem_domain_selection_service"
+ is_exported: true
namespace: "telephony"
description: "This flag controls OEMs' domain selection service supported."
bug:"258112541"
diff --git a/flags/ims.aconfig b/flags/ims.aconfig
index b2cc904..85e7869 100644
--- a/flags/ims.aconfig
+++ b/flags/ims.aconfig
@@ -30,6 +30,7 @@
flag {
name: "add_rat_related_suggested_action_to_ims_registration"
+ is_exported: true
namespace: "telephony"
description: "This flag is for adding suggested actions related to RAT to ims registration"
bug:"290573256"
@@ -44,6 +45,7 @@
flag {
name: "emergency_registration_state"
+ is_exported: true
namespace: "telephony"
description: "This flag is created to notify emergency registration state changed."
bug:"312101946"
diff --git a/flags/iwlan.aconfig b/flags/iwlan.aconfig
index 0dc9f8d..2da8dbc 100644
--- a/flags/iwlan.aconfig
+++ b/flags/iwlan.aconfig
@@ -2,12 +2,14 @@
flag {
name: "enable_aead_algorithms"
+ is_exported: true
namespace: "telephony"
description: "Add AEAD algorithms AES-GCM-8, AES-GCM-12 and AES-GCM-16 to IWLAN"
bug:"306119890"
}
flag {
name: "enable_multiple_sa_proposals"
+ is_exported: true
namespace: "telephony"
description: "Add multiple proposals of cipher suites in IKE SA and Child SA"
bug:"287296642"
diff --git a/flags/messaging.aconfig b/flags/messaging.aconfig
index 1ba89ba..30ec833 100644
--- a/flags/messaging.aconfig
+++ b/flags/messaging.aconfig
@@ -16,6 +16,7 @@
flag {
name: "mms_disabled_error"
+ is_exported: true
namespace: "telephony"
description: "This flag controls the support of the new MMS error code MMS_ERROR_MMS_DISABLED."
bug: "305062594"
diff --git a/flags/misc.aconfig b/flags/misc.aconfig
index aabceca..c9816b9 100644
--- a/flags/misc.aconfig
+++ b/flags/misc.aconfig
@@ -24,6 +24,7 @@
flag {
name: "enable_wps_check_api_flag"
+ is_exported: true
namespace: "telephony"
description: "Enable system api isWpsCallNumber. Its an utility api to check if the dialed number is for Wireless Priority Service call."
bug: "304272356"
@@ -59,6 +60,7 @@
flag {
name: "show_call_id_and_call_waiting_in_additional_settings_menu"
+ is_exported: true
namespace: "telephony"
description: "Expose carrier config KEY_ADDITIONAL_SETTINGS_CALLER_ID_VISIBILITY_BOOL and KEY_ADDITIONAL_SETTINGS_CALL_WAITING_VISIBILITY_BOOL."
bug: "310264981"
@@ -66,6 +68,7 @@
flag {
name: "reset_mobile_network_settings"
+ is_exported: true
namespace: "telephony"
description: "Allows applications to launch Reset Mobile Network Settings page in Settings app."
bug:"271921464"
diff --git a/flags/network.aconfig b/flags/network.aconfig
index c0394e8..7ed6c7a 100644
--- a/flags/network.aconfig
+++ b/flags/network.aconfig
@@ -9,6 +9,7 @@
flag {
name: "hide_roaming_icon"
+ is_exported: true
namespace: "telephony"
description: "Allow carriers to hide the roaming (R) icon when roaming."
bug: "301467052"
@@ -16,6 +17,7 @@
flag {
name: "enable_identifier_disclosure_transparency"
+ is_exported: true
namespace: "telephony"
description: "Guards APIs for enabling and disabling identifier disclosure transparency"
bug: "276752426"
@@ -30,6 +32,7 @@
flag {
name: "enable_modem_cipher_transparency"
+ is_exported: true
namespace: "telephony"
description: "Guards APIs for enabling and disabling modem cipher transparency."
bug: "283336425"
@@ -44,6 +47,7 @@
flag {
name: "hide_prefer_3g_item"
+ is_exported: true
namespace: "telephony"
description: "Used in the Preferred Network Types menu to determine if the 3G option is displayed."
bug: "310639009"
@@ -58,6 +62,7 @@
flag {
name: "network_registration_info_reject_cause"
+ is_exported: true
namespace: "telephony"
description: "Elevate NRI#getRejectCause from System to Public"
bug: "239730435"
diff --git a/flags/satellite.aconfig b/flags/satellite.aconfig
index 798ce40..c913192 100644
--- a/flags/satellite.aconfig
+++ b/flags/satellite.aconfig
@@ -2,6 +2,7 @@
flag {
name: "oem_enabled_satellite_flag"
+ is_exported: true
namespace: "telephony"
description: "This flag controls satellite communication supported by OEMs."
bug:"291811962"
@@ -9,6 +10,7 @@
flag {
name: "carrier_enabled_satellite_flag"
+ is_exported: true
namespace: "telephony"
description: "This flag controls satellite communication supported by carriers."
bug:"296437388"
diff --git a/flags/subscription.aconfig b/flags/subscription.aconfig
index cebedd5..1e1c073 100644
--- a/flags/subscription.aconfig
+++ b/flags/subscription.aconfig
@@ -2,6 +2,7 @@
flag {
name: "work_profile_api_split"
+ is_exported: true
namespace: "telephony"
description: "To support separation between personal and work from TelephonyManager and SubscriptionManager API perspective."
bug: "296076674"
@@ -9,6 +10,7 @@
flag {
name: "enforce_subscription_user_filter"
+ is_exported: true
namespace: "telephony"
description: "Enabled flag means subscriptions enforce filtering result base on calling user handle. It marks the telephony completion of user filtering."
bug: "296076674"
@@ -16,6 +18,7 @@
flag {
name: "data_only_cellular_service"
+ is_exported: true
namespace: "telephony"
description: "Supports customized cellular service capabilities per subscription."
bug: "296097429"
@@ -30,6 +33,7 @@
flag {
name: "support_psim_to_esim_conversion"
+ is_exported: true
namespace: "telephony"
description: "Support the psim to esim conversion."
bug: "315073761"
@@ -37,6 +41,7 @@
flag {
name: "subscription_user_association_query"
+ is_exported: true
namespace: "telephony"
description: "Supports querying if a subscription is associated with the caller"
bug: "325045841"
diff --git a/flags/uicc.aconfig b/flags/uicc.aconfig
index c1b860f..b3c67f3 100644
--- a/flags/uicc.aconfig
+++ b/flags/uicc.aconfig
@@ -14,6 +14,7 @@
}
flag {
name: "carrier_restriction_status"
+ is_exported: true
namespace: "telephony"
description: "This flag controls the visibility of the getCarrierRestrictionStatus in carrierRestrictionRules class."
bug:"313553044"
@@ -26,6 +27,7 @@
}
flag {
name: "esim_available_memory"
+ is_exported: true
namespace: "telephony"
description: "This flag controls eSIM available memory feature."
bug:"318348580"