commit | aebe2347a73f35640b080d169b1dabb8d4b8e8b1 | [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:10:26 2016 +0000 |
tree | 1a30235256825d4d21c3f6ad523aef567a629497 | |
parent | 7ec85f9d549971af59f047d5eafd7a829e1541c7 [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