summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sungsoo <sungsoo@google.com> 2016-09-27 10:19:29 +0900
committer Sungsoo Lim <sungsoo@google.com> 2016-09-27 02:04:35 +0000
commitabf5b4cbf37c014b47d312ef77f48bf00422fd96 (patch)
tree05db5beb91de5b555f82115127d68bbf52731065
parent342fe97eaad4f064ff545c6bcf84fff2a69bc762 (diff)
ExifInterface: Update javadoc for saveAttributes
Bug: 31319086 Test: Checked the created javadoc with "make docs" Change-Id: I97c77ba4f00a95bc5eedf1dcee942aebd2d89ccb
-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 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.
+ * <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 (mIsRaw) {