commit | 67e8a3074d7ef42734d44f3a8d87635e201bd660 | [log] [tgz] |
---|---|---|
author | Shane Farmer <safarmer@google.com> | Wed Dec 06 14:39:10 2017 -0800 |
committer | Shane Farmer <safarmer@google.com> | Tue Dec 12 16:25:26 2017 -0800 |
tree | cd5931f49e35ec7943f166d05f8c5410ac0b1ef7 | |
parent | d87c6b51f55985e343cf96f57b06e4adebf53d25 [diff] |
AAPT2: Add validation for SDK version strings. Ensure that the configured min max and target SDK versions of the android-sdk configuration item are correct. This will prevent AAPT2 crashing when it tries to dereference the Android SDK version to update the manifest. The test for the latest development SDK version has also been made future proof by using the SDK constants. Test: unit tests Test: manually split an APK Change-Id: I1ffa90ba2d96cab0cbfa4bd75ef37a50d986852d