diff options
author | Hyundo Moon <hdmoon@google.com> | 2017-06-12 20:47:50 +0900 |
---|---|---|
committer | Hyundo Moon <hdmoon@google.com> | 2017-06-13 02:37:20 +0000 |
commit | 9442e1147084c14bb9047fc286dce297fc0122ce (patch) | |
tree | 53d0cb855c15180ca955138046f4e373ff1312c4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5aa7ecc26b10191cad3700f2a62273d8a39d3ff8 (diff) |
ExifInterface: Prevent DATETIME value from being set unproperly
Although the DATETIME and DATETIME_ORIGINAL tags are for different
purposes, the DATETIME value is set to the same value as
DATETIME_ORIGINAL tag's when loading the attributes of an image.
This CL prevents the problem by setting the value of DATETIME tag only
when it does not exist.
Bug: 62137632
Test: Passed ExifInterface CTS
Change-Id: Ic5c43c53cb363a782bcac20915d74ea534ec70e4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions