diff options
author | Ivan Chiang <chiangi@google.com> | 2019-04-11 20:01:17 +0800 |
---|---|---|
committer | Ivan Chiang <chiangi@google.com> | 2019-04-29 21:18:57 +0800 |
commit | 6da7b0adcc43ee45fa257bdc2d0f98f2001fd120 (patch) | |
tree | aaabc214f9e7ae1001a78be0e97dcdede7315c06 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8bfe7fd32c3863b894e5cafc18b29d6246803252 (diff) |
Fix can't create thumbnail and wrong orientation issue
- When MediaMetadataRetriever can't create the thumbnail of some
HEIF files, attempt decoding it from ExifInterface.
- ImageDecoder can't create the thumbnail with getThumbnailBytes
from ExifInterface in some cases. It will occur DecodeException:
Failed to create image decoder with message 'unimplemented'Input
contained an error. Attempt to decoding the full image in these
cases.
- Use orientation from ExifInterface to transform the thumbnail to
right orientation.
Test: manual
Test: atest ThumbnailUtilsTest
Bug: 130775874
Fix: 130446058
Change-Id: Icd0726ec49fe85651150736199c3caa184fa1a3f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions