commit | b32a2f1c41285f08693fc12c14de1954568dc657 | [log] [tgz] |
---|---|---|
author | Vignesh Venkatasubramanian <vigneshv@google.com> | Tue Nov 10 13:44:33 2020 -0800 |
committer | Vignesh Venkatasubramanian <vigneshv@google.com> | Tue Nov 10 13:44:33 2020 -0800 |
tree | c780d886cc87b9ba82d66a4b6cd3f499ffa3d558 | |
parent | aa42b854e73cee2ec96d07ce04363d28b0c6f81c [diff] |
Add AVIF special case to ThumbnailUtils Similar to HEIC, AVIF files can also have smaller thumbnail images along with the main image in the container. So try to fetch that first instead of decoding the main image when creating a thumbnail. Test: ThumbnailUtils test still pass (with the new AVIF test). Bug: 141654151 Change-Id: I74afffe0e180edd425154daad30e07fcb0781ee6