diff options
author | Adam Lesinski <adamlesinski@google.com> | 2016-10-27 16:31:58 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2016-10-27 16:31:58 -0700 |
commit | e343eb145c42d00c4fd3fdde93cd0be55cb5b855 (patch) | |
tree | 687304b2b9ca6106eaa7387c304ac4e46570ddc1 /tools/aapt/Command.cpp | |
parent | 584264f6af08faea57653c65db4abcb8111009c0 (diff) |
AAPT2: Insert <uses-sdk> element before <application>
PackageParser on the device uses the targetSdkVersion of the
app while it parses <application>. That means that if the
<uses-sdk> tag comes after <application>, the targetSdkVersion
is assumed to be 0.
Test: make libaapt2_tests
Change-Id: I60f2179a7ff44e7419217afb53f3d24f8c030f6e
Diffstat (limited to 'tools/aapt/Command.cpp')
0 files changed, 0 insertions, 0 deletions