summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Xiao Huang <xiaohx@google.com> 2023-04-26 16:50:42 +0000
committer Xiao Huang <xiaohx@google.com> 2023-04-27 12:04:55 +0000
commit1fcf501bee2bf97e5972701ddc7f9835dcea0582 (patch)
tree2127acbf3a329a26af66822afe63176da0021c1d /libs/input/PointerController.cpp
parent741ed97ad40384b18ce1583fafc3ed8baab630a3 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions