summaryrefslogtreecommitdiff
path: root/android-sdk-flags
diff options
context:
space:
mode:
author Mårten Kongstad <amhk@google.com> 2024-11-04 09:06:33 +0100
committer Mårten Kongstad <amhk@google.com> 2024-11-04 09:20:05 +0100
commit504fe3e9aacc389c25b4cf0213f2586aa0e3e440 (patch)
tree18241a10dc665a4a867f940114412ef78d0008ba /android-sdk-flags
parent86339a736826f10c96f77319de352052d05b2808 (diff)
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
Diffstat (limited to 'android-sdk-flags')
-rw-r--r--android-sdk-flags/flags.aconfig1
1 files changed, 1 insertions, 0 deletions
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