: may fail creating file
This commit is contained in:
1 parent
3b25fcf45c
commit
cfe0ca9801
1 file changed
+2
-2
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user