Set next sdk_int to previous sdk_int + 1.

OS and the finalization scripts use sdk_int - 1 in way too many places.

Bug: 275409981
Test: run locally
Change-Id: If4896a3eb0a6afadac5dbfd6ad455427d1c23d41
This commit is contained in:
Alex Buynytskyy 2023-05-01 18:56:26 +00:00
parent a5530711fb
commit d03be09214

View file

@ -12,8 +12,10 @@ export FINAL_PLATFORM_VERSION='15'
# Set arbitrary large values for CI.
# SDK_VERSION needs to be <61 (lint/libs/lint-api/src/main/java/com/android/tools/lint/detector/api/ApiConstraint.kt)
# Feel free to randomize them once in a while to detect buggy version detection code.
export FINAL_PLATFORM_SDK_VERSION='57'
# There are multiple places where we rely on next SDK version to be previous + 1, e.g. RESOURCES_SDK_INT.
# We might or might not fix this in future, but for now let's keep it +1.
export FINAL_PLATFORM_SDK_VERSION='35'
# Feel free to randomize once in a while to detect buggy version detection code.
export FINAL_MAINLINE_EXTENSION='58'
# Options: