Android: improve log commands and verify tags

This commit is contained in:
Ender's Games 2018-07-21 21:03:55 -04:00
parent 7bc764be9b
commit e104fdc9e7
2 changed files with 4 additions and 4 deletions

View File

@ -153,7 +153,7 @@ public class GenerateLogs extends AsyncTask<String, Integer, String> {
}
try {
mLogcatProc = Runtime.getRuntime().exec(
new String[] { "logcat", "-d", "AndroidRuntime:E *:S" });
new String[] { "logcat", "-ds", "AndroidRuntime:E" });
reader = new BufferedReader(new InputStreamReader(
mLogcatProc.getInputStream()));
String line;
@ -187,7 +187,7 @@ public class GenerateLogs extends AsyncTask<String, Integer, String> {
mLogcatProc = null;
reader = null;
mLogcatProc = Runtime.getRuntime().exec(
new String[] { "logcat", "-d", "reicast:V *:S" });
new String[] { "logcat", "-ds", "reicast:V" });
reader = new BufferedReader(new InputStreamReader(
mLogcatProc.getInputStream()));
log.append(separator);
@ -203,7 +203,7 @@ public class GenerateLogs extends AsyncTask<String, Integer, String> {
mLogcatProc = null;
reader = null;
mLogcatProc = Runtime.getRuntime().exec(
new String[] { "logcat", "-d", "GL2JNIView:E *:S" });
new String[] { "logcat", "-ds", "GL2JNIView:E" });
reader = new BufferedReader(new InputStreamReader(
mLogcatProc.getInputStream()));
log.append(separator);

View File

@ -655,7 +655,7 @@ public class GL2JNIView extends GLSurfaceView
long used=pos-Player.getPlaybackHeadPosition();
long avail=size-used;
//Log.i("AUD", "u: " + used + " a: " + avail);
//Log.i("audcfg", "u: " + used + " a: " + avail);
if (avail<newdata)
return 0;
}