From abf5b4cbf37c014b47d312ef77f48bf00422fd96 Mon Sep 17 00:00:00 2001 From: Sungsoo Date: Tue, 27 Sep 2016 10:19:29 +0900 Subject: ExifInterface: Update javadoc for saveAttributes Bug: 31319086 Test: Checked the created javadoc with "make docs" Change-Id: I97c77ba4f00a95bc5eedf1dcee942aebd2d89ccb --- media/java/android/media/ExifInterface.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/media/java/android/media/ExifInterface.java b/media/java/android/media/ExifInterface.java index 4848630baacf..fc15570cc0af 100644 --- a/media/java/android/media/ExifInterface.java +++ b/media/java/android/media/ExifInterface.java @@ -1551,6 +1551,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. + *

+ * This method is only supported for JPEG files. + *

+ * + * @throws UnsupportedOperationException If this method is called with unsupported files. */ public void saveAttributes() throws IOException { if (mIsRaw) { -- cgit v1.2.3-59-g8ed1b