commit | 01b8c40387cbc6c38d48470718560316a00709bd | [log] [tgz] |
---|---|---|
author | Christopher Dombroski <cdombroski@google.com> | Tue Nov 17 14:26:17 2020 -0800 |
committer | Christopher Dombroski <cdombroski@google.com> | Tue Nov 17 22:30:01 2020 +0000 |
tree | 1faed61e6c2d26ea4c992ace940b8f3ed89da54f | |
parent | 10cf66b0b6763c78bd5df341d7b0483fff8364a8 [diff] |
[RESTRICT AUTOMERGE]: Properly synchronize CrashReporter.java The oc-dev change missed a line Bug: 162378163 Test: run StagefrightTests and don't see an IllegalStateMonitor Change-Id: I44c2d7b777a300be52818574e03f122361a4c6dc
diff --git a/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/CrashReporter.java b/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/CrashReporter.java index 58133bb..98f3561 100644 --- a/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/CrashReporter.java +++ b/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/CrashReporter.java
@@ -165,7 +165,7 @@ } @Override - public void processNewLines(String[] lines) { + public synchronized void processNewLines(String[] lines) { this.notifyAll(); // alert the main thread that we are active. if (!isCancelled()) { for (String line : lines) {