commit | 317316fb2b3911a005aa2e877dceb184892b2ec4 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Nov 30 14:25:08 2018 -0800 |
committer | Chong Zhang <chz@google.com> | Fri Nov 30 15:37:03 2018 -0800 |
tree | f022af22fe783a46b8a8234cdeb177aaec9fd1d5 | |
parent | 8757179e52e1997876e3af3b574d97df3ea2385a [diff] |
Fix ExifInterface for .heic when meta is at the end available() bytes is counted after the last read position, after the seek to new position, size should be compared with the avaliable directly (without adding position). bug: 120086693 test: Open .heic files in Downloads/Photos that's either very small (b/117625929, b/111897855), or with the meta at the very end (b/120086693). There shouldn't be error in ExifInterface. Change-Id: I37ac57823b26f03bb0ba555ee6213cf999942d21