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

Commit 8f338521 authored by Mårten Kongstad's avatar Mårten Kongstad
Browse files

Mark @FlaggedApi flags as exported

An aconfig flag that is used together with @FlaggedApi must be marked as
`is_exported: true` to guarantee that the auto-generated lookup code
checks the actual flag value (instead of using a hard-coded value set at
compile time). This is important when the API is called across aconfig
container boundaries (e.g. a mainline module calling code on the system
partition).

Mark all non-exported flags used with @FlaggedApi as exported.

The "all @FlaggedApi flags are exported" invariant should be checked at
build time; this will be added in future CLs.

Bug: 378061535
Test: treehugger
Flag: EXEMPT can't flag changes to flag declarations
Change-Id: I1702cff936594036b4408831cd14dafbce6c609e
parent 9a1ed7c3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -69,4 +69,5 @@ flag {
    namespace: "telephony"
    description: "Used to notify the emergency callback mode for call/SMS to other applications."
    bug:"359064059"
    is_exported: true
}
+1 −0
Original line number Diff line number Diff line
@@ -127,4 +127,5 @@ flag {
  namespace: "telephony"
  description: "Support OEM_PAID and OEM_PRIVATE networks"
  bug: "366194627"
  is_exported: true
}
+2 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@ flag {
    namespace: "telephony"
    description: "Used to expose SMS related hidden APIs for SMS over IMS to public API."
    bug:"359721349"
    is_exported: true
}

# OWNER=jhyoon TARGET=25Q2
@@ -163,4 +164,5 @@ flag {
    namespace: "telephony"
    description: "This flag controls the type of API regarding MmTelFeature, either hidden or system type."
    bug:"359721349"
    is_exported: true
}
+2 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ flag {
    namespace: "telephony"
    description: "This flag enables satellite carrier roaming to nb iot ntn."
    bug:"348253735"
    is_exported: true
}

# OWNER=tnd TARGET=24Q4
@@ -78,4 +79,5 @@ flag {
  namespace: "telephony"
  description: "Introduce SatelliteManager APIs for carrier apps to monitor satellite state change"
  bug: "357638490"
  is_exported: true
}
+1 −0
Original line number Diff line number Diff line
@@ -88,4 +88,5 @@ flag {
  namespace: "telephony"
  description: "Provide APIs to retrieve the status and recurrence rule info on a subscription plan"
  bug: "357272015"
  is_exported: true
}
Loading