diff --git a/media/java/android/media/ImageWriter.java b/media/java/android/media/ImageWriter.java index b0736389b906c..1b743679e5850 100644 --- a/media/java/android/media/ImageWriter.java +++ b/media/java/android/media/ImageWriter.java @@ -385,8 +385,7 @@ public class ImageWriter implements AutoCloseable { * (acquired via {@link #dequeueInputImage}). In the former case, the Image * data will be moved to this ImageWriter. Note that the Image properties * (size, format, strides, etc.) must be the same as the properties of the - * images dequeued from this ImageWriter, or this method will throw an - * {@link IllegalArgumentException}. In the latter case, the application has + * images dequeued from this ImageWriter. In the latter case, the application has * filled the input image with data. This method then passes the filled * buffer to the downstream consumer. In both cases, it's up to the caller * to ensure that the Image timestamp (in nanoseconds) is correctly set, as