summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Tufvesson <lus@google.com>2024-04-12 12:19:28 +0200
committerLinus Tufvesson <lus@google.com>2024-04-16 08:08:37 +0000
commit6be9557b9e8651ae1ad22ed9109cc2d5555fd329 (patch)
tree70c4709e70d5e4762ba83b3bb7b1c049c82946d3
parent5dbf81016533a51516f0411676e88936bc585cbe (diff)
downloadrelease-6be9557b9e8651ae1ad22ed9109cc2d5555fd329.tar.gz
Introduce flag for min supported target sdk
Test: Build and flash Test: adb shell getprop ro.build.version.min_supported_target_sdk Bug: 297603927 Change-Id: Ia5f41f0cf75b7072b30afc9bbf66dc1081085233 Merged-In: Ia5f41f0cf75b7072b30afc9bbf66dc1081085233
-rw-r--r--build_flags.scl5
1 files changed, 5 insertions, 0 deletions
diff --git a/build_flags.scl b/build_flags.scl
index 96a9953..492a0fd 100644
--- a/build_flags.scl
+++ b/build_flags.scl
@@ -158,6 +158,11 @@ flags = [
# The name of the virtual camera package to add to the system partition.
flag("RELEASE_PACKAGE_VIRTUAL_CAMERA", SYSTEM, ""),
+ # Used to set minimum supported target sdk version. Apps targeting sdk
+ # version lower than the set value will result in a warning being shown
+ # when any activity from the app is started.
+ flag("RELEASE_PLATFORM_MIN_SUPPORTED_TARGET_SDK_VERSION", SYSTEM, "28"),
+
# The sdk extension version of this release configuration.
flag("RELEASE_PLATFORM_SDK_EXTENSION_VERSION", ALL, "7"),