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

Skip to content
Commit 1fcf501b authored by Xiao Huang's avatar Xiao Huang
Browse files

Determine HEIF support by checking HEVC

ImageDecoder.isMimeTypeSupported always returns true for
HEIF and HEIC, however, according to CDD, this support is
optional, and they are only supported when the HEVC is
supported by the device.

This change is to fix inconsistency with CDD 5.1.5, and won't
impact handhelds or TV, as HEVC is a must for them. For auto
and watch, HEVC is not supported at all. So this change is safe.

Bug: 278664575
Test: atest BitmapFactoryTest ImageDecoderTest

Change-Id: Iecceb6f2a498fddc045ccce331f6fcef5debd2f5
parent 741ed97a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment