diff --git a/media/java/android/media/ExifInterface.java b/media/java/android/media/ExifInterface.java index 56af57aa8e962..5e00dc1a4fa31 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. + *
+ * This method is only supported for JPEG files. + *
+ * + * @throws UnsupportedOperationException If this method is called with unsupported files. */ public void saveAttributes() throws IOException { if (!mIsSupportedFile || mIsRaw) {