AImageDecoder: Hide support for animated HEIF
Bug: 160984428
Bug: 170672785
Test: none
The system currently requires decoding the pixels of the frame of an
HEIF/AVIF animated image before the actual duration of that frame can
be retrieved. Rather than handling this (likely temporary) limitation by
- documenting it
- providing extra APIs
- limiting other formats in the same way
remove documentation specifying that animated HEIF is supported.
Developers are likely to be more interested in the other formats (GIF,
WebP) anyway. If they do attempt to animate an HEIF file, they will
still see the default duration specified for the sequence.
Change-Id: I5b97aeddee1311b694d73ac67b6157032d9ad745
diff --git a/include/android/imagedecoder.h b/include/android/imagedecoder.h
index b5f3b10..d534554 100644
--- a/include/android/imagedecoder.h
+++ b/include/android/imagedecoder.h
@@ -583,7 +583,7 @@
* Available since API level 30.
*
* Starting in API level 31, it can be used to decode all of the frames of an
- * animated image (i.e. GIF, WebP, HEIF) using new APIs. Internally,
+ * animated image (i.e. GIF, WebP) using new APIs. Internally,
* AImageDecoder keeps track of its "current frame" - that is, the frame that
* will be decoded by a call to AImageDecoder_decodeImage. At creation time, the
* current frame is always the first frame, and multiple calls to this method