summaryrefslogtreecommitdiff
path: root/nfc/java
diff options
context:
space:
mode:
author Oriol Prieto Gasco <opg@google.com> 2024-03-01 17:12:01 +0000
committer Oriol Prieto Gasco <opg@google.com> 2024-03-08 14:14:31 +0000
commit5cc889ab51e8db2d7393d2252f49ca985e56dc0d (patch)
treeab5a066d770a2bba3afca0a8244dcadd2e2216ac /nfc/java
parent2381575add18002303e8467b8a91964c9cce165c (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 Change-Id: Ie5af316c327208b52b3afd74502ca66c41bb6f70
Diffstat (limited to 'nfc/java')
-rw-r--r--nfc/java/android/nfc/flags.aconfig7
1 files changed, 7 insertions, 0 deletions
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"