commit | 9442e1147084c14bb9047fc286dce297fc0122ce | [log] [tgz] |
---|---|---|
author | Hyundo Moon <hdmoon@google.com> | Mon Jun 12 20:47:50 2017 +0900 |
committer | Hyundo Moon <hdmoon@google.com> | Tue Jun 13 02:37:20 2017 +0000 |
tree | 53d0cb855c15180ca955138046f4e373ff1312c4 | |
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