Files
Mårten Kongstad dae6114e3d android.sdk aconfig flags: add android.sdk.device_initial_sdk_int_full
Add a flag to guard the upcoming API Build.DEVICE_INITIAL_SDK_INT_FULL
(to be added in an upcoming CL).

The flag is currently marked as non-exported. This will change when the
flag is used to @FlaggedApi guard the new API, but because the build
doesn't allow exported flags without corresponding API, the flag starts
out as non-exported.

Bug: 419702369
Test: treehugger
Flag: EXEMPT no need to flag the introduction of new flags
Change-Id: If3157d5a59535f9410bc30fd0c2d3fb88cc82cbe
2025-06-11 15:07:19 +00:00

21 lines
724 B
Plaintext

package: "android.sdk"
container: "system"
flag {
name: "major_minor_versioning_scheme"
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
}
flag {
name: "device_initial_sdk_int_full"
namespace: "android_sdk"
description: "Add API Build.DEVICE_INITIAL_SDK_INT_FULL which mirrors Build.DEVICE_INITIAL_SDK_INT but with support for the SDK major.minor versioning scheme."
bug: "419702369"
}