summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/util
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-03-17 10:19:45 +0000
committerNarayan Kamath <narayan@google.com>2015-03-17 10:22:14 +0000
commit1fdfadf00a468dd460dd25bf2e074cfb2a225a04 (patch)
tree8899737e8f37465a93799154c3a91a8f551390e7 /src/com/android/gallery3d/util
parent12eae246c5aaf836e9ceebe55117dff650bb2821 (diff)
downloadandroid_packages_apps_Gallery2-1fdfadf00a468dd460dd25bf2e074cfb2a225a04.tar.gz
android_packages_apps_Gallery2-1fdfadf00a468dd460dd25bf2e074cfb2a225a04.tar.bz2
android_packages_apps_Gallery2-1fdfadf00a468dd460dd25bf2e074cfb2a225a04.zip
Use java.util.Date instead of java.sql.Date.
java.sql.Date was being used in a context unrelated to SQL and there's no good reason to use it this way. Note that the claim in java.sql.Date's javadoc that it normalizes times to day boundaries is a lie. Change-Id: Ibb17d3fe22af6c2a41abd51b2158d6af000ecbbf
Diffstat (limited to 'src/com/android/gallery3d/util')
-rw-r--r--src/com/android/gallery3d/util/SaveVideoFileUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/util/SaveVideoFileUtils.java b/src/com/android/gallery3d/util/SaveVideoFileUtils.java
index 10c41de90..bef75bac4 100644
--- a/src/com/android/gallery3d/util/SaveVideoFileUtils.java
+++ b/src/com/android/gallery3d/util/SaveVideoFileUtils.java
@@ -28,8 +28,8 @@ import android.provider.MediaStore.Video.VideoColumns;
import com.android.gallery3d.filtershow.tools.SaveImage.ContentResolverQueryCallback;
import java.io.File;
-import java.sql.Date;
import java.text.SimpleDateFormat;
+import java.util.Date;
public class SaveVideoFileUtils {
// This function can decide which folder to save the video file, and generate