diff options
| author | 2020-11-10 08:58:54 +0000 | |
|---|---|---|
| committer | 2020-11-10 08:58:54 +0000 | |
| commit | aa42b854e73cee2ec96d07ce04363d28b0c6f81c (patch) | |
| tree | 99ae0766c9e1f3efa9e6c465d673adfb4a0c4658 | |
| parent | c6200cc36649da3127fea28fc5f855effec2be6d (diff) | |
| parent | 4a46b9edf139c43434b72e5c093c1707ca2b9468 (diff) | |
Merge "Add AVIF mime type to BitmapFactory"
| -rw-r--r-- | libs/hwui/jni/BitmapFactory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/jni/BitmapFactory.cpp b/libs/hwui/jni/BitmapFactory.cpp index 7d2583a2ac01..52522a320821 100644 --- a/libs/hwui/jni/BitmapFactory.cpp +++ b/libs/hwui/jni/BitmapFactory.cpp @@ -67,6 +67,8 @@ const char* getMimeType(SkEncodedImageFormat format) { return "image/webp"; case SkEncodedImageFormat::kHEIF: return "image/heif"; + case SkEncodedImageFormat::kAVIF: + return "image/avif"; case SkEncodedImageFormat::kWBMP: return "image/vnd.wap.wbmp"; case SkEncodedImageFormat::kDNG: |