diff options
author | Beth Thibodeau <ethibodeau@google.com> | 2020-04-27 14:17:08 -0400 |
---|---|---|
committer | Beth Thibodeau <ethibodeau@google.com> | 2020-04-27 14:17:08 -0400 |
commit | dba74bcfa8897da3644df1f97e69ab5f13c23a1c (patch) | |
tree | f4880ccfb01e32fc202bc4f5c3750ddc25c57fd0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 91c6dd813e29e18cde2d803d50f5a221a98535df (diff) |
Check URI is valid for loading images
ImageDecoder requires URIs to have a scheme of type
SCHEME_CONTENT,
SCHEME_ANDROID_RESOURCE, or
SCHEME_FILE
In addition URI scheme being null was causing NPE since ImageDecoder
does not check for that.
Fixes: 155021174
Test: manual
Change-Id: I724c8b7e1000c2fc5b3910550ec69904da079bce
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions