aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-02-26 15:45:23 -0800
committerScott Jackson <daneren2005@gmail.com>2014-02-26 15:45:23 -0800
commitc89f6902b47a12bb2f27dbf5e8f05fd0586be329 (patch)
tree05ec02eaf034343608c6b5f94a3cde4112dd8380 /src
parent228a90ccdf5427972bcd99e723e5ecfdfd77d64b (diff)
downloaddsub-c89f6902b47a12bb2f27dbf5e8f05fd0586be329.tar.gz
dsub-c89f6902b47a12bb2f27dbf5e8f05fd0586be329.tar.bz2
dsub-c89f6902b47a12bb2f27dbf5e8f05fd0586be329.zip
Fix logcat appending to make a huge file
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/MainFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/MainFragment.java b/src/github/daneren2005/dsub/fragments/MainFragment.java
index 6ae7e491..02875249 100644
--- a/src/github/daneren2005/dsub/fragments/MainFragment.java
+++ b/src/github/daneren2005/dsub/fragments/MainFragment.java
@@ -345,6 +345,7 @@ public class MainFragment extends SubsonicFragment {
protected File doInBackground() throws Throwable {
updateProgress("Gathering Logs");
File logcat = new File(FileUtil.getSubsonicDirectory(context), "logcat.txt");
+ Util.delete(logcat);
Process logcatProc = null;
try {