diff options
author | ByteHamster <info@bytehamster.com> | 2021-07-25 08:45:25 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-07-25 08:45:25 +0200 |
commit | fb455b982e42eeac52735050ebe4ebd80c6129df (patch) | |
tree | 55d162af2a4050658939b15c4a8c12fabba6020b /app | |
parent | a9df3e756e4b21e55a37532913ccf32cd1331b1a (diff) | |
download | AntennaPod-fb455b982e42eeac52735050ebe4ebd80c6129df.zip |
Fix exporting full logs
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/BugReportActivity.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/BugReportActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/BugReportActivity.java index 50794ba5b..aa59e4e96 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/BugReportActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/BugReportActivity.java @@ -99,10 +99,6 @@ public class BugReportActivity extends AppCompatActivity { private void exportLog() { try { File filename = new File(UserPreferences.getDataFolder(null), "full-logs.txt"); - boolean success = filename.createNewFile(); - if (!success) { - throw new IOException("Unable to create output file"); - } String cmd = "logcat -d -f " + filename.getAbsolutePath(); Runtime.getRuntime().exec(cmd); //share file |