commit | 18b049e8a23f5ba3ecdb564b00dfd2ac8904805f | [log] [tgz] |
---|---|---|
author | Hyoungho Choi <hh46.choi@samsung.com> | Wed Sep 02 19:30:10 2020 +0900 |
committer | Narayan Kamath <narayan@google.com> | Wed Sep 09 17:24:31 2020 +0000 |
tree | a073fa86e61cd1fa97f9383854262af0cb4b4584 | |
parent | 3e1d1e7fb4a5c10a0e0b75e225f899ba31a39f34 [diff] |
Use BitmapFactory width/height for an image There can be some images which don't have Exif. Extract width/height from Exif. Otherwise fallback to extract them from BitmapFactory. Bug: 166303982 Test: atest MediaProviderTests Change-Id: Ic2aabbefb7caa7475a8923302ccefce58f877948 (cherry picked from commit 6c008bb998c904f7db616ffd623656755d32e74c)