summaryrefslogtreecommitdiff
path: root/include/androidfw/Input.h
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2012-05-08 14:29:09 -0700
committer Jeff Brown <jeffbrown@google.com> 2012-05-08 14:29:09 -0700
commitaf67fc65bf113b028ff33e71cd6a45810018c273 (patch)
treece34c00243f0563bfdec0d8af1822e368068ff6f /include/androidfw/Input.h
parentc042ee2acd8529b95c5dc99240d626e61d2500cd (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
Diffstat (limited to 'include/androidfw/Input.h')
0 files changed, 0 insertions, 0 deletions