am c79f8df1: Merge "WebView tests are failing with a timeout failure.Added timeout for the polling check. modified: webkit/src/android/webkit/cts/WebViewClientTest.java" into jb-mr2-dev
* commit 'c79f8df1a1e62633736823cb676bef30531765e0':
WebView tests are failing with a timeout failure.Added timeout for the polling check. modified: webkit/src/android/webkit/cts/WebViewClientTest.java
diff --git a/tests/tests/webkit/src/android/webkit/cts/WebViewClientTest.java b/tests/tests/webkit/src/android/webkit/cts/WebViewClientTest.java
index ccc6444..3353d50 100644
--- a/tests/tests/webkit/src/android/webkit/cts/WebViewClientTest.java
+++ b/tests/tests/webkit/src/android/webkit/cts/WebViewClientTest.java
@@ -42,7 +42,7 @@
protected void setUp() throws Exception {
super.setUp();
final WebViewStubActivity activity = getActivity();
- new PollingCheck() {
+ new PollingCheck(TEST_TIMEOUT) {
@Override
protected boolean check() {
return activity.hasWindowFocus();