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

Commit be6fa5d8 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

Ignore-AOSP-First: LSC
Change-Id: I18aa647a18e634a129fb07485267ff3cdb0565fc
parent 65e6c603
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ container: "system"
flag {
     namespace: "camera_platform"
     name: "camera_hsum_permission"
     is_exported: true
     description: "Camera access by headless system user"
     bug: "273539631"
}
@@ -11,6 +12,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "concert_mode"
     is_exported: true
     description: "Introduces a new concert mode camera extension type"
     bug: "297083874"
}
@@ -18,6 +20,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "feature_combination_query"
     is_exported: true
     description: "Query feature combination support and session specific characteristics"
     bug: "309627704"
}
@@ -39,6 +42,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "camera_manual_flash_strength_control"
     is_exported: true
     description: "Flash brightness level control in manual flash mode"
     bug: "238348881"
}
@@ -74,6 +78,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "camera_ae_mode_low_light_boost"
     is_exported: true
     description: "An AE mode that enables increased brightening in low light scenes"
     bug: "312803148"
}
@@ -95,6 +100,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "camera_extensions_characteristics_get"
     is_exported: true
     description: "Enable get extension specific camera characteristics API"
     bug: "280649914"
}
@@ -116,6 +122,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "camera_device_setup"
     is_exported: true
     description: "Create an intermediate Camera Device class for limited CameraDevice access."
     bug: "320741775"
}
@@ -123,6 +130,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "camera_privacy_allowlist"
     is_exported: true
     description: "Allowlisting to exempt safety-relevant cameras from privacy control for automotive devices"
     bug: "282814430"
}
@@ -130,6 +138,7 @@ flag {
flag {
     namespace: "camera_platform"
     name: "extension_10_bit"
     is_exported: true
     description: "Enables 10-bit support in the camera extensions."
     bug: "316375635"
}
+7 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ flag {

flag {
    name: "feature_spatial_audio_headtracking_low_latency"
    is_exported: true
    namespace: "media_audio"
    description: "Define feature for low latency headtracking for SA"
    bug: "324291076"
@@ -30,6 +31,7 @@ flag {

flag {
    name: "focus_exclusive_with_recording"
    is_exported: true
    namespace: "media_audio"
    description:
        "Audio focus GAIN_TRANSIENT_EXCLUSIVE only mutes"
@@ -39,6 +41,7 @@ flag {

flag {
    name: "foreground_audio_control"
    is_exported: true
    namespace: "media_audio"
    description:
        "Audio focus gain requires FGS or delegation to "
@@ -49,6 +52,7 @@ flag {
# TODO remove
flag {
    name: "focus_freeze_test_api"
    is_exported: true
    namespace: "media_audio"
    description: "\
 AudioManager audio focus test APIs:\
@@ -62,6 +66,7 @@ flag {

flag {
    name: "loudness_configurator_api"
    is_exported: true
    namespace: "media_audio"
    description: "\
Enable the API for providing loudness metadata and CTA-2075 \
@@ -79,6 +84,7 @@ flag {

flag {
    name: "sco_managed_by_audio"
    is_exported: true
    namespace: "media_audio"
    description: "\
Enable new implementation of headset profile device connection and\
@@ -88,6 +94,7 @@ SCO audio activation."

flag {
    name: "supported_device_types_api"
    is_exported: true
    namespace: "media_audio"
    description: "Surface new API method AudioManager.getSupportedDeviceTypes()"
    bug: "307537538"
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ flag {

flag {
    name: "audio_mix_test_api"
    is_exported: true
    namespace: "media_audio"
    description: "Enable new Test APIs that provide access to registered AudioMixes on system server and native side."
    bug: "309080867"
@@ -32,6 +33,7 @@ flag {

flag {
    name: "audio_policy_update_mixing_rules_api"
    is_exported: true
    namespace: "media_audio"
    description: "Enable AudioPolicy.updateMixingRules API for hot-swapping audio mixing rules."
    bug: "293874525"
@@ -39,6 +41,7 @@ flag {

flag {
    name: "enable_fade_manager_configuration"
    is_exported: true
    namespace: "media_audio"
    description: "Enable Fade Manager Configuration support to determine fade properties"
    bug: "307354764"
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ container: "system"

flag {
    name: "virtual_ump"
    is_exported: true
    namespace: "media_audio"
    description: "Enable virtual UMP MIDI."
    bug: "291115176"