summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-04 17:46:57 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-04 17:57:02 +0200
commit2efae1ac68619e82997e7988bf7f9210322a0844 (patch)
tree007ab409c8923b550d9f0a8037b2a26fac434733
parente3a681446898ad43e63de1daaf74805f2041dd33 (diff)
LogExporterPreference: get all past processes
-rw-r--r--app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java b/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java
index 70d221a8..4770c4b3 100644
--- a/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java
+++ b/app/src/main/java/com/wireguard/android/preference/LogExporterPreference.java
@@ -64,7 +64,7 @@ public class LogExporterPreference extends Preference {
try {
final Process process = Runtime.getRuntime().exec(new String[]{
- "logcat", "-b", "all", "-d", "-v", "threadtime", "--pid", Integer.toString(android.os.Process.myPid()), "-f", file.getAbsolutePath(), "*:V"});
+ "logcat", "-b", "all", "-d", "-v", "threadtime", "-f", file.getAbsolutePath(), "*:V"});
if (process.waitFor() != 0) {
try (final BufferedReader reader = new BufferedReader(new InputStreamReader(process.getErrorStream()))) {
final StringBuilder errors = new StringBuilder();