mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-12 06:05:10 -04:00
Remove -G 1m from logcat as it invalid arguments
This commit is contained in:
parent
04cf84dd64
commit
f97a74b9f5
@ -876,7 +876,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
Log.i("jrelog-logcat","Clearing logcat");
|
||||
new ProcessBuilder().command("logcat", "-c").redirectErrorStream(true).start();
|
||||
Log.i("jrelog-logcat","Starting logcat");
|
||||
Process p = new ProcessBuilder().command("logcat", "-G", "1m", "-v", "brief", "*:S").redirectErrorStream(true).start();
|
||||
Process p = new ProcessBuilder().command("logcat", /* "-G", "1mb", */ "-v", "brief", "*:S").redirectErrorStream(true).start();
|
||||
byte[] buf = new byte[512];
|
||||
int len;
|
||||
while ((len = p.getInputStream().read(buf)) != -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user