commit | 9fbdf89dda658c3b21924f6e28df7401d868394a | [log] [tgz] |
---|---|---|
author | Todd Kennedy <toddke@google.com> | Tue Aug 28 16:31:15 2018 -0700 |
committer | Todd Kennedy <toddke@google.com> | Mon Sep 17 14:16:21 2018 -0700 |
tree | 22d31299968eef57cca5cd2adf205b1a04527960 | |
parent | 5ed02df4df31373d7ff7c7deb9686f9508c031df [diff] |
Don't allow splitting on an empty configuration When aapt breaks out splits, it may remove the SDK constraint [if it's lower than the min sdk]. If that is the only constraint, we would create a resource split with no constraints. Don't allow that situation. There must always be _some_ constraint. Bug: 113115970 Test: atest CtsAppSecurityHostTestCases:SplitTests Test: aapt2_tests Change-Id: I424c875677c3be2a3ff5ddd39100b998bd650a4b