Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 58077d5d authored by Chong Zhang's avatar Chong Zhang
Browse files

Add "image/heic" to supported mimes of ImageDecoder

bug: 127364815
Test: atest android.graphics.cts.ImageDecoderTest
Change-Id: I510a492b1770af70b9a36c239d043f8b09088fc2
parent 004dd4d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -853,6 +853,7 @@ public final class ImageDecoder implements AutoCloseable {
            case "image/webp":
            case "image/webp":
            case "image/gif":
            case "image/gif":
            case "image/heif":
            case "image/heif":
            case "image/heic":
            case "image/bmp":
            case "image/bmp":
            case "image/x-ico":
            case "image/x-ico":
            case "image/vnd.wap.wbmp":
            case "image/vnd.wap.wbmp":