summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBeth Thibodeau <ethibodeau@google.com>2020-04-27 14:17:08 -0400
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-04-27 20:45:07 +0000
commit1bb43b6c4cdd2c94c39491fae609ff286fa2b2b1 (patch)
treecd739de683e10627016f2aeed1392d1b3da4c8c6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb9c4abf4d40dc0c72eb28d5c0edcfc9d56efa669 (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 (cherry picked from commit dba74bcfa8897da3644df1f97e69ab5f13c23a1c)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions