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

Commit 68ee6d66 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

[aapt2] Fix the autoshifting sdk version <36

The old code used to update the parsed config's sdk version to
be at least Baklava (36) the same way we do it for other
components - assuming we need to make the whole configuration
target the first SDK release with the feature support.

This caused typos (e.g. 30.1) to be 'autocorrected' to 36.1
instead of letting the developer know about the typo. Given that
any version with minor set and sdkVersion <36 is just not valid,
it's safe to return an error instead at all times.

Bug: 438788698
Flag: EXEMPT host tools don't support flags
Test: atest aapt2_tests libandroidfw_tests
Change-Id: I890e3b1f2047f45030b865ed036221ff6d2a3e83
parent fe39dfe3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment