aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-10-08 17:02:03 -0700
committerScott Jackson <daneren2005@gmail.com>2015-10-08 17:02:03 -0700
commite08a49b2ea562f7d845108c73f9ff22987e34f64 (patch)
tree31b3758aadef006bac248fcc490e3aafcbd29941 /app/src/main
parent3e1aeaa3b6a01d5490d20f9d7d33cd98aaab729a (diff)
downloaddsub-e08a49b2ea562f7d845108c73f9ff22987e34f64.tar.gz
dsub-e08a49b2ea562f7d845108c73f9ff22987e34f64.tar.bz2
dsub-e08a49b2ea562f7d845108c73f9ff22987e34f64.zip
Change logcat to be saved in root folder in hopes it helps the logs not being included in emails
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java3
1 files changed, 2 insertions, 1 deletions
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<Integer> {
@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;