From ec2cbe34d742e13e06612ce788bfd3bd3e153336 Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Tue, 12 Jan 2021 12:59:21 -0500 Subject: 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 --- include/android/imagedecoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/android/imagedecoder.h') diff --git a/include/android/imagedecoder.h b/include/android/imagedecoder.h index b5f3b10650..d534554784 100644 --- a/include/android/imagedecoder.h +++ b/include/android/imagedecoder.h @@ -583,7 +583,7 @@ size_t AImageDecoder_getMinimumStride(AImageDecoder* _Nonnull decoder) __INTRODU * 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 -- cgit v1.2.3-59-g8ed1b