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

Commit 72edd1e4 authored by Mark Punzalan's avatar Mark Punzalan
Browse files

aapt2: Ensure sparse encoding isn't used on unsupported platforms

Current behavior:
- When --enable-sparse-encoding is used, sparse encode when minSdkVersion is missing or is >= 32 (S_v2)
- When --force-sparse-encoding is used, always sparse encode regardless of minSdkVersion

New behavior:
- When --enable-sparse-encoding is used, sparse encode when minSdkVersion is >= 32 (S_v2)
- When --force-sparse-encoding is used, sparse encode when minSdkVersion is missing or is >= 32 (S_v2)

Bug: 398187461
Test: build + boot on Pixel 6 Pro
Flag: EXEMPT build tool
Change-Id: Ide4e37f565107a33ecafc269ed81633e616b1a19
parent dbe3505d
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