summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSungsoo <sungsoo@google.com>2016-08-23 14:48:43 +0900
committerSungsoo Lim <sungsoo@google.com>2016-09-08 08:01:13 +0000
commit56ea7b490107e4531ab4db6f74671c34b5c59fd3 (patch)
treeb729191a43b966c4d6e47b5afd6325b3975ad2e8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent15ab53936812ec522f327081b99ec5582de49545 (diff)
DO NOT MERGE) ExifInterface: Make saveAttributes throw an exception before change
ExifInterface object can be created with a unsupported file format. If saveAttribute is called with an unsupported file format, ExifInterface makes the file corrupted. This CL prevents those cases by throwing an exception before making any change on the file. Bug: 30936376 Change-Id: I115a42601c774062485974042464abb0d65c35e9 (cherry picked from commit a8f9a075b14c526a0de75c2ade81ebc4e05e4ef8)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions