From cfe0ca980140530648b839250ae04ccde02ecb32 Mon Sep 17 00:00:00 2001 From: seven332 Date: Sun, 7 Jun 2015 19:18:50 +0800 Subject: [PATCH] : may fail creating file --- app/src/main/java/com/hippo/ehviewer/util/Crash.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/hippo/ehviewer/util/Crash.java b/app/src/main/java/com/hippo/ehviewer/util/Crash.java index 426ae7065..655e8290b 100644 --- a/app/src/main/java/com/hippo/ehviewer/util/Crash.java +++ b/app/src/main/java/com/hippo/ehviewer/util/Crash.java @@ -99,8 +99,8 @@ public class Crash { sb.append("======== CrashInfo ========\n").append(result).append("\n"); try { long timestamp = System.currentTimeMillis(); - String time = Utils.sDate.format(System.currentTimeMillis()); - String fileName = "crash-" + time + "-" + timestamp + ".log"; + //String time = Utils.sDate.format(System.currentTimeMillis()); + String fileName = "crash-" + timestamp + ".log"; String path = null; boolean position = false; if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {