summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJaesung Chung <jaesung@google.com>2016-03-14 15:09:09 +0900
committerJaesung Chung <jaesung@google.com>2016-03-14 15:16:47 +0900
commit1043f56185ee4abb0246ebe44eea7e391802d4fa (patch)
tree2fb929f672a9eb0a7c490cf203bcb640fdb7722c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent89cb1945424f1d4c7278d24cd09f0a8d09093883 (diff)
ExifInterface: ignore exceptions when getting wrong images
In order to maintain compatibility with the old versions of ExifInterface, non-JPEG image files, for instance, PNG, GIF and so on, need to be handled by generating an empty result rather than throwing an exception in the constructor. And corrupted JPG files also should be handled in the same way. Bug: 27587980 Change-Id: If33b63c683bfb672999d1abd370a8edf29932ac1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions