commit | 56ea7b490107e4531ab4db6f74671c34b5c59fd3 | [log] [tgz] |
---|---|---|
author | Sungsoo <sungsoo@google.com> | Tue Aug 23 14:48:43 2016 +0900 |
committer | Sungsoo Lim <sungsoo@google.com> | Thu Sep 08 08:01:13 2016 +0000 |
tree | b729191a43b966c4d6e47b5afd6325b3975ad2e8 | |
parent | 15ab53936812ec522f327081b99ec5582de49545 [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)