diff options
| author | 2022-06-27 18:27:54 +0000 | |
|---|---|---|
| committer | 2022-06-29 00:03:34 +0000 | |
| commit | 27cae49f7eecfea15240748852cc1a220e1009cb (patch) | |
| tree | c4f15b69f7d1eb17f60ce69a38e1272accf28644 /libs/androidfw/FileStream.cpp | |
| parent | d1fb1f4e9952f474ce0be2a83e4117892a5dd9c3 (diff) | |
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 bcf5b69c41b2a5401682e424596c33d1900bf791)
Merged-In: I3a2b9baa82ebb8ca9031c9fa128ce12bff17226e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions