commit | 8f55786537f34576e06ec731cf9054f9e2d8bd39 | [log] [tgz] |
---|---|---|
author | Oriol Prieto Gasco <opg@google.com> | Fri Mar 01 16:52:42 2024 +0000 |
committer | Oriol Prieto Gascó <opg@google.com> | Thu Mar 21 12:42:19 2024 +0000 |
tree | 9338588daba2e96da6b73dc176fa5eee68190c64 | |
parent | 8747a0a31c7b34c1f677b43625429153e7af420f [diff] |
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: I8c2d111fd4ffb23f3f52c9d00bf6bbd2456d7f05
diff --git a/services/autofill/features.aconfig b/services/autofill/features.aconfig index 532db12..c130cee 100644 --- a/services/autofill/features.aconfig +++ b/services/autofill/features.aconfig
@@ -16,6 +16,7 @@ flag { name: "autofill_credman_dev_integration" + is_exported: true namespace: "autofill" description: "Guards against Autofill-Credman Phase1 developer integration via new APIs" bug: "320730001"
diff --git a/services/core/java/com/android/server/feature/dropbox_flags.aconfig b/services/core/java/com/android/server/feature/dropbox_flags.aconfig index fee4bf3..14e964b 100644 --- a/services/core/java/com/android/server/feature/dropbox_flags.aconfig +++ b/services/core/java/com/android/server/feature/dropbox_flags.aconfig
@@ -2,6 +2,7 @@ flag{ name: "enable_read_dropbox_permission" + is_exported: true namespace: "preload_safety" description: "Feature flag for permission to Read dropbox data" bug: "287512663"
diff --git a/services/core/java/com/android/server/power/stats/flags.aconfig b/services/core/java/com/android/server/power/stats/flags.aconfig index b2e01c5..c42ccea 100644 --- a/services/core/java/com/android/server/power/stats/flags.aconfig +++ b/services/core/java/com/android/server/power/stats/flags.aconfig
@@ -2,6 +2,7 @@ flag { name: "power_monitor_api" + is_exported: true namespace: "backstage_power" description: "Feature flag for ODPM API" bug: "295027807"
diff --git a/services/core/java/com/android/server/webkit/flags.aconfig b/services/core/java/com/android/server/webkit/flags.aconfig index 1411acc..2afbcd6 100644 --- a/services/core/java/com/android/server/webkit/flags.aconfig +++ b/services/core/java/com/android/server/webkit/flags.aconfig
@@ -2,6 +2,7 @@ flag { name: "update_service_v2" + is_exported: true namespace: "webview" description: "Using a new version of the WebView update service" bug: "308907090"