From 5cc889ab51e8db2d7393d2252f49ca985e56dc0d Mon Sep 17 00:00:00 2001 From: Oriol Prieto Gasco Date: Fri, 1 Mar 2024 17:12:01 +0000 Subject: 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: Ie5af316c327208b52b3afd74502ca66c41bb6f70 --- nfc/java/android/nfc/flags.aconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nfc/java') diff --git a/nfc/java/android/nfc/flags.aconfig b/nfc/java/android/nfc/flags.aconfig index cb1a542b2b36..44924ae925ef 100644 --- a/nfc/java/android/nfc/flags.aconfig +++ b/nfc/java/android/nfc/flags.aconfig @@ -2,6 +2,7 @@ package: "android.nfc" flag { name: "enable_nfc_mainline" + is_exported: true namespace: "nfc" description: "Flag for NFC mainline changes" bug: "292140387" @@ -9,6 +10,7 @@ flag { flag { name: "enable_nfc_reader_option" + is_exported: true namespace: "nfc" description: "Flag for NFC reader option API changes" bug: "291187960" @@ -16,6 +18,7 @@ flag { flag { name: "enable_nfc_user_restriction" + is_exported: true namespace: "nfc" description: "Flag for NFC user restriction" bug: "291187960" @@ -23,6 +26,7 @@ flag { flag { name: "nfc_observe_mode" + is_exported: true namespace: "nfc" description: "Enable NFC Observe Mode" bug: "294217286" @@ -30,6 +34,7 @@ flag { flag { name: "nfc_read_polling_loop" + is_exported: true namespace: "nfc" description: "Enable NFC Polling Loop Notifications" bug: "294217286" @@ -58,6 +63,7 @@ flag { flag { name: "enable_nfc_set_discovery_tech" + is_exported: true namespace: "nfc" description: "Flag for NFC set discovery tech API" bug: "300351519" @@ -65,6 +71,7 @@ flag { flag { name: "nfc_vendor_cmd" + is_exported: true namespace: "nfc" description: "Enable NFC vendor command support" bug: "289879306" -- cgit v1.2.3-59-g8ed1b