ExifInterface: Update javadoc for saveAttributes am: abf5b4cbf3 am: d0a8a69034 am: 6e8eba7238

am: 855b9126e1

Change-Id: I4ce94f6368f41dcbf760f164b13c9d6d8055a42b
This commit is contained in:
Sungsoo
2016-09-28 00:27:20 +00:00
committed by android-build-merger

View File

@@ -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) {