Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(580)

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java

Issue 2573263002: Catch InterruptedException in CriteriaHelper (Closed)
Patch Set: Change OverviewModeBehaviorWatcher back to try/finally Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java b/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
index afa23be622721d384aa20108a785d39c0c175104..cff04c95968a0ba55ed09c1faaf7369f91f97074 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/MediaSessionTest.java
@@ -71,7 +71,7 @@ public class MediaSessionTest extends ContentShellTestBase {
mAudioFocusState = AudioManager.AUDIOFOCUS_LOSS;
}
- public void waitForFocusStateChange(int focusType) throws InterruptedException {
+ public void waitForFocusStateChange(int focusType) {
CriteriaHelper.pollInstrumentationThread(
Criteria.equals(focusType, new Callable<Integer>() {
@Override

Powered by Google App Engine
This is Rietveld 408576698