commit | af67fc65bf113b028ff33e71cd6a45810018c273 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Tue May 08 14:29:09 2012 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Tue May 08 14:29:09 2012 -0700 |
tree | ce34c00243f0563bfdec0d8af1822e368068ff6f | |
parent | c042ee2acd8529b95c5dc99240d626e61d2500cd [diff] |
Check for null fd when constructing AssetFileDescriptor. An AssetFileDescriptor with a null fd is pretty useless and should never happen during normal operation. It can't even be parcelled without hitting an NPE. To make it easier to find bugs where a null fd might have been generated, check at construction time. Bug: 5655036 Change-Id: I1da6dbee0cab9c11e309f3cebe698bf44dc5e27d