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

Commit 27cae49f authored by Winson Chiu's avatar Winson Chiu Committed by Android Build Coastguard Worker
Browse files

Correctly parse minSdk even when targetSdk is a codename

The code that assigned target to min if min was not specified was
only checking for min codenames, but if the manifest specified a
numerical minSdkVersion, that is valid and would incorrectly prevent
the package from installing.

Bug: 237059024

Test: mts-tradefed > mts-eng-only -m ApkInApexTest

Change-Id: I3a2b9baa82ebb8ca9031c9fa128ce12bff17226e
(cherry picked from commit bcf5b69c)
Merged-In: I3a2b9baa82ebb8ca9031c9fa128ce12bff17226e
parent d1fb1f4e
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