Fix exporting full logs
This commit is contained in:
parent
a9df3e756e
commit
fb455b982e
|
@ -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