Merge pull request #5300 from ByteHamster/fix-logs-export
Fix exporting full logs
This commit is contained in:
commit
22214df31e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue