Reported by sjw.
AFAIK Android 12 will support AVIF natively. It might be interesting to see if a decoder is possible for previous versions of Android.