You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: firebase-appdistribution/src/test/java/com/google/firebase/appdistribution/impl/TestOnProgressListener.java
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
import java.util.concurrent.TimeUnit;
24
24
25
25
/**
26
-
* Helper listener that awaits a specific number of progress events on a {@code UpdateTask}.
26
+
* Helper listener that awaits a specific number of progress events on an {@code UpdateTask}.
27
27
*
28
28
* <p>This works around a limitation of the Tasks API where await() cannot be called on the main
29
29
* thread. This listener works around it by running itself on a different thread, thus allowing the
@@ -38,11 +38,15 @@ class TestOnProgressListener implements OnProgressListener {
38
38
private final CountDownLatch latch;
39
39
private final List<UpdateProgress> progressUpdates = new ArrayList<>();
0 commit comments