commit | 139145be8082f0606045b89feebc9126a9a376d8 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <[email protected]> | Thu Dec 17 15:43:54 2020 -0500 |
committer | Leon Scroggins III <[email protected]> | Tue Jan 05 12:37:47 2021 -0500 |
tree | ed515cb13a9608be4cb87baebe801ec0b5346580 | |
parent | 31d0862eca09541eee6a2db6f914087d2ce1f4e4 [diff] |
Handle EXIF orientation in hwui/ImageDecoder Bug: 160984428 Test: AImageDecoderTest#testRespectOrientation ImageDecoderTest#testRespectOrientation Ieda439910ae52e609f0710d424503616d99ae5c7 I23caef26b4c82173c758dd0ce7fb6f04e4154588 I345a13d20776a007052d32e74fa42865b42f726d It is possible to create an animated image with an exif orientation. Using kRespect, there is no clean way to handle the orientation plus compositing frames. Switch ImageDecoder to use kIgnore (the default). Depends on a change in Skia (https://review.skia.org/344762) to make SkAnimatedImage handle the orientation even with kIgnore. Change-Id: Ib93b0ced09fa3cca4a6681745406355c48158fae