Fix exporting full logs

This commit is contained in:
ByteHamster 2021-07-25 08:45:25 +02:00
parent a9df3e756e
commit fb455b982e
1 changed files with 0 additions and 4 deletions

View File

@ -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