diff options
author | 2024-11-26 10:11:29 +0100 | |
---|---|---|
committer | 2024-11-26 10:11:29 +0100 | |
commit | 1d26f393038f039985275d87770cb3bf02335153 (patch) | |
tree | ab16de6b9c282dfc9cdeabfc0e2a47255b071c7d /services/backup | |
parent | b7222fdf7537a422c1384cc97d37b5cf86899ec5 (diff) |
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: If45930e4afdcc87e374679ea73502651ce2de445
Diffstat (limited to 'services/backup')
-rw-r--r-- | services/backup/flags.aconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/backup/flags.aconfig b/services/backup/flags.aconfig index fcb7934f7ca0..70db323f97dc 100644 --- a/services/backup/flags.aconfig +++ b/services/backup/flags.aconfig @@ -68,4 +68,5 @@ flag { "B&R operations in certain cases." bug: "376661510" is_fixed_read_only: true + is_exported: true } |