diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-02-26 15:45:23 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-02-26 15:45:23 -0800 |
commit | c89f6902b47a12bb2f27dbf5e8f05fd0586be329 (patch) | |
tree | 05ec02eaf034343608c6b5f94a3cde4112dd8380 /src | |
parent | 228a90ccdf5427972bcd99e723e5ecfdfd77d64b (diff) | |
download | dsub-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.java | 1 |
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 {
|