Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cc889ab authored by Oriol Prieto Gasco's avatar Oriol Prieto Gasco
Browse files

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: Ie5af316c327208b52b3afd74502ca66c41bb6f70
parent 2381575a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ flag {

flag {
    name: "use_art_service_v2"
    is_exported: true
    namespace: "package_manager_service"
    description: "Feature flag to enable the features that rely on new ART Service APIs that are in the VIC version of the ART module."
    bug: "304741685"
@@ -61,6 +62,7 @@ flag {

flag {
    name: "rollback_lifetime"
    is_exported: true
    namespace: "package_manager_service"
    description: "Feature flag to enable custom rollback lifetime during install."
    bug: "299670324"
@@ -118,6 +120,7 @@ flag {

flag {
    name: "recoverability_detection"
    is_exported: true
    namespace: "package_manager_service"
    description: "Feature flag to enable recoverability detection feature. It includes GMS core rollback and improvements to rescue party."
    bug: "291135724"
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ package: "android.hardware.biometrics"

flag {
    name: "last_authentication_time"
    is_exported: true
    namespace: "wallet_integration"
    description: "Feature flag for adding getLastAuthenticationTime API to BiometricManager"
    bug: "301979982"
@@ -9,6 +10,7 @@ flag {

flag {
  name: "add_key_agreement_crypto_object"
  is_exported: true
  namespace: "biometrics"
  description: "Feature flag for adding KeyAgreement api to CryptoObject."
  bug: "282058146"
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ flag {

flag {
  name: "register_nsd_offload_engine"
  is_exported: true
  namespace: "android_core_networking"
  description: "Flag for registerOffloadEngine API in NsdManager"
  bug: "294777050"
+2 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@ package: "com.android.net.thread.platform.flags"

flag {
    name: "thread_user_restriction_enabled"
    is_exported: true
    namespace: "thread_network"
    description: "Controls whether user restriction on thread networks is enabled"
    bug: "307679182"
@@ -12,6 +13,7 @@ flag {

flag {
    name: "thread_enabled_platform"
    is_exported: true
    namespace: "thread_network"
    description: "Controls whether the Android Thread feature is enabled"
    bug: "301473012"
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ package: "android.net.vcn"

flag {
    name: "safe_mode_config"
    is_exported: true
    namespace: "vcn"
    description: "Feature flag for safe mode configurability"
    bug: "276358140"
Loading