Commit Graph

13 Commits

Author SHA1 Message Date
Dan Albert
9b507330eb Merge changes from topic "fix-api_levels.json" am: 249bc4c034 am: bf5d61971e am: 39bca0748a
Original change: https://android-review.googlesource.com/c/platform/build/+/2509758

Change-Id: Icb775a6ab8cc08bc2e495c6cc86c87297e8986a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 17:43:09 +00:00
Dan Albert
4d24cbd044 Separate active codenames and preview codenames.
Using PLATFORM_VERSION_ALL_CODENAMES (which is a bad name for
historical reasons) for discovering preview API levels doesn't work in
the narrow window where the branch's development is not for the latest
release. Create a second variable for preview codenames and expose it
to soong.

Bug: None
Test: None
Change-Id: I8c271c1d646ea8285553614c6bca944227a0e643
2023-03-28 23:25:45 +00:00
Nick Kovacs
4c22e6060e Merge "Update minimum supported targetSdk to 29" 2022-08-11 19:26:33 +00:00
Nick Kovacs
2092c97c2e Update minimum supported targetSdk to 29
Trailing by 4 major releases, as per schedule.

Test: make

Bug: 215522897
Change-Id: I33cd75a1092cb54f3f56bab6083d8f9211a32b64
2022-08-08 18:47:31 +00:00
Nick Kovacs
67ebe09f86 Update minimum supported targetSdk to 28
This change will cause a dismissable warning message to display
indicating the app is targeting a low targetSdkVersion.

Previously this message was displayed for apps targeting < 23.

The eventual goal is to move this to 29, but still
working through some failed CTS tests. Updating first
to 28, and then will follow up with an update to 29.

Bringing this to 29 would be in line with trailing
by 4 major releases.

Test: make
Test: atest CtsWindowManagerSdk25TestCases:AspectRatioSdk25Tests
Test: atest CtsWindowManagerSdk28TestCases:AspectRatioSdk28Tests
Change-Id: I669d325770b5abebcb29c2f4dc31f82fb8e638c7
2022-08-05 19:32:08 +00:00
Nick Kovacs
9d2cf6f326 Revert "Update minimum supported targetSdk to 29"
Revert "Expect warning message for app targetSdk < 29"

Revert submission 19380683-increase-min-target-sdk-version

Reason for revert: Test failures
Reverted Changes:
Ie4a4ad6d4:Update minimum supported targetSdk to 29
Icda326d6e:Expect warning message for app targetSdk < 29

Change-Id: I46c71b21e97d702408ecca8c8c0172e5f92ceb0c
2022-08-03 22:37:47 +00:00
Nick Kovacs
2a8c1b9554 Update minimum supported targetSdk to 29
Trailing by 4 major releases, as per schedule.

Test: make
Test: atest CtsWindowManagerSdk25TestCases:AspectRatioSdk25Tests
Test: atest CtsWindowManagerSdk28TestCases:AspectRatioSdk28Tests

Bug: 215522897
Change-Id: Ie4a4ad6d4e7af8c23003a653a2d2ef514adb1169
2022-07-27 23:50:48 +00:00
Sebastian Ene
573fbcd114 Drop the PLATFORM_VERSION_CODENAME conditional
Evaluate the list of all active codenames when version_util.mk is
invoked.

Bug: 230720688
Change-Id: I1c6a3e94230e856cf41f1f79b37893576957dc3d
Signed-off-by: Sebastian Ene <sebastianene@google.com>
2022-04-29 09:09:03 +00:00
Colin Cross
a492544a03 Add PLATFORM_DISPLAY_VERSION
Add PLATFORM_DISPLAY_VERSION to version_defaults.mk that will propagate
to the ro.build.version.release_or_preview_display property and
be shown as the Android version for preview releases by Settings.

Bug: 221950960
Test: manual
Change-Id: I697cc59f77f92aa98a8a2573662797e6d3bd2042
2022-02-28 18:01:35 -08:00
satayev
2d94586cff Introduce ro.build.version.known_codenames sysprop.
It defines values for Build.VERSION.KNOWN_CODENAMES constant, and should
contain all codenames starting from Q, including current codename
for in development branches.

Bug: 211747008
Test: presubmit
Change-Id: If8995750e369ba39bfc7041580c21b2f96632a78
2022-02-11 13:20:49 +00:00
Joseph Jang
cc1f5e43aa Revert "Update minimum supported targetSdk to 28."
This reverts commit 7918526355.

Reason for revert: <Test break by b/216280809>

Change-Id: I4d11564314034d7596261c1760dd79d3d5b82f2e
2022-01-26 03:15:15 +00:00
Narayan Kamath
7918526355 Update minimum supported targetSdk to 28.
Trailing by 4 major releases, as per schedule.

Test: make
Bug: 215522897
Change-Id: I893fe0ee68cce4b08061628ed641b845d2d79b63
2022-01-24 14:59:20 +00:00
Sasha Smundak
1335903d4e Move the stable code from version_defaults.mk to version_util.mk.
With version_defaults.mk containing only simple assignments, it can be
automatically converted to Starlark.
This is a cherrypick of ag/15768054

Bug: 198995713
Test: treehugger
Merged-In: I4798fb69c639e6d52d275a5b793fa0c8ba876202
Change-Id: I17fab2e46c085fc4c07ae13c5e8cfb439097c634
2021-09-13 09:23:40 -07:00