summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sungsoo <sungsoo@google.com> 2016-09-28 00:15:51 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-28 00:15:51 +0000
commit0a31d58d140711692dda7eaf65916f8255d97fa6 (patch)
tree9e6b5a57122ab91ce5b74227990e256eabb71e90
parent6789896f2d82e11beab0ba54d09f3a717632eacc (diff)
parentd0a8a690341ee630162d92f590090a7005afd773 (diff)
ExifInterface: Update javadoc for saveAttributes am: abf5b4cbf3
am: d0a8a69034 Change-Id: I4df5b4855ec9f1e38fab504f3a895c4744cc287e
-rw-r--r--media/java/android/media/ExifInterface.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/java/android/media/ExifInterface.java b/media/java/android/media/ExifInterface.java
index 56af57aa8e96..5e00dc1a4fa3 100644
--- a/media/java/android/media/ExifInterface.java
+++ b/media/java/android/media/ExifInterface.java
@@ -1554,6 +1554,11 @@ public class ExifInterface {
* copying all the data from one file to another and deleting the old file and renaming the
* other. It's best to use {@link #setAttribute(String,String)} to set all attributes to write
* and make a single call rather than multiple calls for each attribute.
+ * <p>
+ * This method is only supported for JPEG files.
+ * </p>
+ *
+ * @throws UnsupportedOperationException If this method is called with unsupported files.
*/
public void saveAttributes() throws IOException {
if (!mIsSupportedFile || mIsRaw) {