diff options
| author | Leon Scroggins III <scroggo@google.com> | 2019-09-17 14:13:18 -0400 | 
|---|---|---|
| committer | Leon Scroggins III <scroggo@google.com> | 2019-09-17 14:13:18 -0400 | 
| commit | 3d7ae4efffcf3c4cbe17131a76d3020107d051fb (patch) | |
| tree | 1e8736dacd199f9d58b9827e17c53de99b53bf1c /startop/scripts/lib/cmd_utils.py | |
| parent | 081deafca597c61d4e7e73083ff685e64034c9cc (diff) | |
ImageDecoder: throw FileNotFoundException on null
Bug: 140961740
Test: I41a93b47acde6a7985c53107f448a8b647d245d7
If ImageDecoder has a null AssetFileDescriptor, either from a Callable
or from a ContentResolver directly, throw a FileNotFoundException.
Previously, a NullPointerException was thrown attempting to dereference
it.
Change-Id: Ie738b9edc062e520835010befc001578fce09832
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions
