summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Rakesh Kumar <rakesh.kumar@ittiam.com> 2022-11-04 20:21:09 +0530
committer Rakesh Kumar <rakesh.kumar@ittiam.com> 2022-11-20 10:46:37 +0530
commite3e6fa1eccf5bd78bb722908d6360e88f53e9868 (patch)
treef114a3ed540326ccbad8ddb352aaff235064f192 /tests/DynamicCodeLoggerIntegrationTests/src
parent81c4fd80412d1e76d6f942fa9a12efbe6c52c404 (diff)
Prevent ExifInterface incorrectly copying a WebP padding byte
When skipping over the EXIF chunk in the input file (and writing a new EXIF chunk to the output based on the internal Exif data of the class), it's important to skip both the chunk and any trailing padding byte (if the chunk size is odd). Without this fix the output of saveAttributes may be invalid (not decodable with BitmapFactory.decodeFile). Test: Added tests to ExifInterfaceTest to check the output of saveAttributes is always parsable with BitmapFactory. Bug: 253622642 Change-Id: I6b7c4612b830dbf95a12c42eac5d6301dfb15104
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions