Update docs to state that mark is no longer called.

BUG:6493544

Change-Id: I97a4d90ce2efcd12f8f1cc5b545f822f8e5a5ab0
This commit is contained in:
Leon Scroggins III
2013-09-25 17:49:45 -04:00
parent 9ca833f4a5
commit 321bc46b3c
2 changed files with 10 additions and 0 deletions

View File

@@ -104,6 +104,11 @@ public final class BitmapRegionDecoder {
* allowing sharing may degrade the decoding speed.
* @return BitmapRegionDecoder, or null if the image data could not be decoded.
* @throws IOException if the image format is not supported or can not be decoded.
*
* <p class="note">Prior to {@link android.os.Build.VERSION_CODES#KITKAT},
* if {@link InputStream#markSupported is.markSupported()} returns true,
* <code>is.mark(1024)</code> would be called. As of
* {@link android.os.Build.VERSION_CODES#KITKAT}, this is no longer the case.</p>
*/
public static BitmapRegionDecoder newInstance(InputStream is,
boolean isShareable) throws IOException {