commit | 26ae640c348eb12e2273887280970cd53675a032 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Mon Aug 15 18:45:00 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Wed Aug 17 19:53:01 2016 +0000 |
tree | 550cfad11c8b50571e3a435b7bb0e8e515eaed64 | |
parent | 97632afe5ecb0c35366167e3dfd0aa6258ab276f [diff] |
AAPT: Handle gaps in resources when building splits Due to public ID assignment, gaps in resource type and entry IDs can occur. This can lead to null pointer dereferencing if not careful. This happened in ResourceTable::getDensityVaryingResources() which is called when building Splits. Bug:30879690 Change-Id: I588e4dcd2e042fccfcb2e87967b5cbd0d23b4497 (cherry picked from commit 081d1b4cf602fdd7302b597e6bf902cb415bc3a8)