summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2014-03-12 12:20:06 -0700
committerSteve Kondik <steve@cyngn.com>2015-03-28 14:58:54 -0700
commit55a1c3e023853cf5169d5a5f049ee566146ddf2b (patch)
treed08be4bccfbd570435e03be37785cd5507ce5c9f /src
parentd87286fe5446e3d797290fa48b2369c1d0e2144b (diff)
downloadandroid_packages_apps_Gallery2-55a1c3e023853cf5169d5a5f049ee566146ddf2b.zip
android_packages_apps_Gallery2-55a1c3e023853cf5169d5a5f049ee566146ddf2b.tar.gz
android_packages_apps_Gallery2-55a1c3e023853cf5169d5a5f049ee566146ddf2b.tar.bz2
Gallery2 : Store DATE_TAKEN as milliseconds
DATE_TAKEN expects milliseconds Change-Id: I1958057f1af5aaab8190cdffc81f2b994d81a186
Diffstat (limited to 'src')
-rw-r--r--src/com/android/gallery3d/filtershow/tools/SaveImage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/tools/SaveImage.java b/src/com/android/gallery3d/filtershow/tools/SaveImage.java
index 94fed75..8997ef5 100644
--- a/src/com/android/gallery3d/filtershow/tools/SaveImage.java
+++ b/src/com/android/gallery3d/filtershow/tools/SaveImage.java
@@ -702,7 +702,7 @@ public class SaveImage {
values.put(Images.Media.TITLE, file.getName());
values.put(Images.Media.DISPLAY_NAME, file.getName());
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);