diff options
author | Sungsoo <sungsoo@google.com> | 2016-09-08 16:04:44 +0900 |
---|---|---|
committer | gitbuildkicker <android-build@google.com> | 2016-09-27 15:58:46 -0700 |
commit | 23e6629cf56378634488ea49a8acf40d709effa1 (patch) | |
tree | 473cc1fc41248f09b122df5bc7c315daaf3944ee /media/jni/android_media_MediaCrypto.h | |
parent | b8be33b0bedec211708c4525b9d3f3b4effb385c (diff) | |
download | frameworks_base-23e6629cf56378634488ea49a8acf40d709effa1.zip frameworks_base-23e6629cf56378634488ea49a8acf40d709effa1.tar.gz frameworks_base-23e6629cf56378634488ea49a8acf40d709effa1.tar.bz2 |
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
(cherry picked from commit 2ee53c82cc8c8b2e76a19910074672f6204a5d63)
Diffstat (limited to 'media/jni/android_media_MediaCrypto.h')
0 files changed, 0 insertions, 0 deletions