From e08a49b2ea562f7d845108c73f9ff22987e34f64 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Thu, 8 Oct 2015 17:02:03 -0700 Subject: Change logcat to be saved in root folder in hopes it helps the logs not being included in emails --- app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java index ea894485..cb94ed19 100644 --- a/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java +++ b/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java @@ -1,6 +1,7 @@ package github.daneren2005.dsub.fragments; import android.content.res.Resources; +import android.os.Environment; import android.support.v7.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; @@ -247,7 +248,7 @@ public class MainFragment extends SelectRecyclerFragment { @Override protected File doInBackground() throws Throwable { updateProgress("Gathering Logs"); - File logcat = new File(FileUtil.getSubsonicDirectory(context), "logcat.txt"); + File logcat = new File(Environment.getExternalStorageDirectory(), "dsub-logcat.txt"); Util.delete(logcat); Process logcatProc = null; -- cgit v1.2.3