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

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

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
parent b97dfc67
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -11,3 +11,10 @@ flag {
    # 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"
}