Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 417984dc authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Wrapped call to notifyAll() in a synchronized block" into jb-mr1-dev

parents 14c62518 3065963f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1188,9 +1188,11 @@ public class Am {
            if (data != null) line = line + ", data=\"" + data + "\"";
            if (extras != null) line = line + ", extras: " + extras;
            System.out.println(line);
            synchronized (this) {
              mFinished = true;
              notifyAll();
            }
        }

        public synchronized void waitForFinish() {
            try {