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

Commit 77cd63fd 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: I9140cf907183477d9e9d761242d9735cc2f84947
parent 3a5bf76a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ flag {

flag {
  name: "dynamic_color_aspects"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for dynamic color aspect support"
  bug: "297914560"
@@ -21,6 +22,7 @@ flag {

flag {
  name: "hlg_editing"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for HLG editing support"
  bug: "316397061"
@@ -28,6 +30,7 @@ flag {

flag {
  name: "in_process_sw_audio_codec"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for in-process software audio codec API"
  bug: "297922713"
@@ -56,6 +59,7 @@ flag {

flag {
  name: "null_output_surface"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for null output Surface API"
  bug: "297920102"
@@ -70,6 +74,7 @@ flag {

flag {
  name: "region_of_interest"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flag for region of interest API"
  bug: "299191092"
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ flag {

flag {
  name: "codec_importance"
  is_exported: true
  namespace: "codec_fwk"
  description: "Feature flags for media codec importance"
  bug: "297929011"