mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 858960 - Check for end of stream when identifying traces file; r=blassey
This commit is contained in:
parent
ca9c22a0c7
commit
225ac912c5
@ -223,6 +223,12 @@ public final class ANRReporter extends BroadcastReceiver
|
||||
if (DEBUG) {
|
||||
Log.d(LOGTAG, "identifying line: " + String.valueOf(line));
|
||||
}
|
||||
if (line == null) {
|
||||
if (DEBUG) {
|
||||
Log.d(LOGTAG, "reached end of traces file");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
if (pkgPattern.matcher(line).find()) {
|
||||
// traces.txt file contains our package
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user