commit | 872e7b7073fad8295e6314c73b87d7cb3f85d39c | [log] [tgz] |
---|---|---|
author | Ray Chen <raychen@google.com> | Tue Mar 27 23:37:41 2012 +0800 |
committer | Ray Chen <raychen@google.com> | Tue Mar 27 23:37:41 2012 +0800 |
tree | 52868a19579bb62e2375ed9c9c1bea642e10ab79 | |
parent | 5571ffdd9d419e3b1e050501e6f8dbfb04159b5d [diff] |
Fix b/5353417 Images downloaded from browser are showing incorrect details (Time is shown as dec 31 1969) MediaScanner sets DATE_TAKEN with EXIF's datetime tag value. When this information is not available, ExifInterface will simply return -1 which is accidentally used by MediaScanner. Adding a check to avoid it so MediaProvider can calculate the date taken from last modified time instead. Change-Id: I305b93a6c5602cbb9f97c3bbd384d358bda030c6