From 2199d97d47c1cc002c6eeabfd7254adf1fd020b9 Mon Sep 17 00:00:00 2001 From: MÃ¥rten Kongstad Date: Tue, 12 Mar 2024 14:07:39 +0100 Subject: framework-nfc: add aconfig_declarations block Add missing aconfig_declarations block to the framework-nfc java_sdk_library soong module. Without this, soong doesn't know which flags to tell metalava to retain, and metalava will effectively revert all API changes in framework-nfc, even if the @FlaggedApi flag is enabled. Bug: 328923659 Test: m sdk dist && grep -e isObserveModeEnabled out/dist/data/api-versions.xml Change-Id: Iafa82071b613f9fdd590b605ab0b07cd587ecd0f --- nfc/Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nfc/Android.bp b/nfc/Android.bp index 7dd16ba6c18e..7698e2b2d054 100644 --- a/nfc/Android.bp +++ b/nfc/Android.bp @@ -76,6 +76,9 @@ java_sdk_library { "//apex_available:platform", "com.android.nfcservices", ], + aconfig_declarations: [ + "android.nfc.flags-aconfig", + ], } filegroup { -- cgit v1.2.3-59-g8ed1b