commit | e343eb145c42d00c4fd3fdde93cd0be55cb5b855 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Thu Oct 27 16:31:58 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Thu Oct 27 16:31:58 2016 -0700 |
tree | 687304b2b9ca6106eaa7387c304ac4e46570ddc1 | |
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