From 504fe3e9aacc389c25b4cf0213f2586aa0e3e440 Mon Sep 17 00:00:00 2001 From: MÃ¥rten Kongstad Date: Mon, 4 Nov 2024 09:06:33 +0100 Subject: Mark android.sdk.major_minor_versioning_scheme as exported Mark the aconfig flag android.sdk.major_minor_versioning_scheme as exported. The exported attribute is needed for correctness when the flag is read across aconfig container boundaries. All aconfig flags that are used with APIs (which is the case for android.sdk.major_minor_versioning_scheme) should be marked as exported. Bug: 350458259 Test: m all_aconfig_declarations && printflags --filter=fully_qualified_name:android.sdk.major_minor_versioning_scheme --format='{is_exported}' Flag: EXEMPT no need to flag the introduction of new flags Change-Id: I2336c2419e46b2b9f759dbbdd494e2bd23454c8b --- android-sdk-flags/flags.aconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'android-sdk-flags') diff --git a/android-sdk-flags/flags.aconfig b/android-sdk-flags/flags.aconfig index cfe298e187d1..19c7bf674832 100644 --- a/android-sdk-flags/flags.aconfig +++ b/android-sdk-flags/flags.aconfig @@ -6,6 +6,7 @@ flag { namespace: "android_sdk" description: "Use the new SDK major.minor versioning scheme (e.g. Android 40.1) which replaces the old single-integer scheme (e.g. Android 15)." bug: "350458259" + is_exported: true # Use is_fixed_read_only because DeviceConfig may not be available when Build.VERSION_CODES is first accessed is_fixed_read_only: true -- cgit v1.2.3-59-g8ed1b