Skip to content

Commit

Permalink
保存修改
Browse files Browse the repository at this point in the history
  • Loading branch information
teach committed May 14, 2020
1 parent 931a3c9 commit 10ba97f
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
import android.provider.MediaStore;
import android.util.Log;

import com.donkingliang.imageselector.entry.Image;

import java.io.File;
import java.io.FileDescriptor;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;

public class ImageUtil {

Expand Down Expand Up @@ -355,8 +350,6 @@ private static boolean isNeedSavePicture(Context context) {
if (String.valueOf(time).length() < 13) {
time *= 1000;
}
Date date = new Date(time);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

mCursor.close();
// 如果照片为30s中内插入的,就认为是拍照图片已插入
Expand Down

0 comments on commit 10ba97f

Please sign in to comment.