commit | 2ee53c82cc8c8b2e76a19910074672f6204a5d63 | [log] [tgz] |
---|---|---|
author | Sungsoo <sungsoo@google.com> | Thu Sep 08 16:04:44 2016 +0900 |
committer | Sungsoo Lim <sungsoo@google.com> | Thu Sep 08 07:57:56 2016 +0000 |
tree | e31e437e65a77a57bfac976602a551e11e71d3ea | |
parent | 2acf9f7e3c37468a051ac08f6866e4cd4dc9d36e [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: I915f56b00ec9422b53591ac5534e070a1d6798e6