commit | c46bae3f47d6b43a6f95138fc37c1004c670d0e6 | [log] [tgz] |
---|---|---|
author | Danesh M <daneshm90@gmail.com> | Wed Mar 12 12:20:06 2014 -0700 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Nov 26 11:21:26 2020 +0100 |
tree | b230d45466a753c8142f16b0fccba74e214327f3 | |
parent | dc1770e8e170f654549e8c87bcff5ffbf050c55b [diff] |
Gallery2: Store DATE_TAKEN as milliseconds DATE_TAKEN expects milliseconds Change-Id: I1958057f1af5aaab8190cdffc81f2b994d81a186
diff --git a/src/com/android/gallery3d/filtershow/tools/SaveImage.java b/src/com/android/gallery3d/filtershow/tools/SaveImage.java index 01da06e..433af8b 100755 --- a/src/com/android/gallery3d/filtershow/tools/SaveImage.java +++ b/src/com/android/gallery3d/filtershow/tools/SaveImage.java
@@ -809,7 +809,7 @@ } else { values.put(Images.Media.MIME_TYPE, "image/jpeg"); } - values.put(Images.Media.DATE_TAKEN, time); + values.put(Images.Media.DATE_TAKEN, time * 1000); values.put(Images.Media.DATE_MODIFIED, time); values.put(Images.Media.DATE_ADDED, time); values.put(Images.Media.ORIENTATION, 0);