From 5d205dc016b21cf084d14258d37f707a8e5a121d Mon Sep 17 00:00:00 2001 From: Alex Buynytskyy Date: Thu, 27 Apr 2023 15:30:19 -0700 Subject: [PATCH] Change CI API level to keep linter happy. Bug: 275409981 Test: run locally Change-Id: I99d2ef4974a70f435f528c7a9358990fa41c9f5e --- tools/finalization/environment.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/finalization/environment.sh b/tools/finalization/environment.sh index 892361dd9c..63d1fa0504 100755 --- a/tools/finalization/environment.sh +++ b/tools/finalization/environment.sh @@ -11,9 +11,10 @@ export FINAL_BUILD_PREFIX='VP1A' 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='97' -export FINAL_MAINLINE_EXTENSION='98' +export FINAL_PLATFORM_SDK_VERSION='57' +export FINAL_MAINLINE_EXTENSION='58' # Options: # 'unfinalized' - branch is in development state,