diff options
| author | 2016-09-28 00:27:20 +0000 | |
|---|---|---|
| committer | 2016-09-28 00:27:20 +0000 | |
| commit | e1b15e21173b87d7f28021da70488c6464128be9 (patch) | |
| tree | 82ca3e2b218929597e1808b5daadbba8d5cc84ad | |
| parent | dc9a0bfec0fab13326f26bf1cd12103769db03f3 (diff) | |
| parent | 855b9126e159df60417d187056d0094cdfa01351 (diff) | |
ExifInterface: Update javadoc for saveAttributes am: abf5b4cbf3 am: d0a8a69034 am: 6e8eba7238
am: 855b9126e1
Change-Id: I4ce94f6368f41dcbf760f164b13c9d6d8055a42b
| -rw-r--r-- | media/java/android/media/ExifInterface.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/java/android/media/ExifInterface.java b/media/java/android/media/ExifInterface.java index 0c7fa8e52e68..69710d645094 100644 --- a/media/java/android/media/ExifInterface.java +++ b/media/java/android/media/ExifInterface.java @@ -1761,6 +1761,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 || mMimeType != IMAGE_TYPE_JPEG) { |