Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 504fe3e9 authored by Mårten Kongstad's avatar Mårten Kongstad
Browse files

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
parent 86339a73
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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