summaryrefslogtreecommitdiffstats
path: root/tests/CoreTests
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2009-08-03 11:46:44 -0700
committerGrace Kloba <klobag@google.com>2009-08-03 11:46:44 -0700
commit699c646839d45f6ae04a9c8a7ab2fd870995dffa (patch)
treebfbb1367a82ed6efc1c4fc1c5d40e73c6018f721 /tests/CoreTests
parent8050220374e67e0ffa9d92551f422c02cacadd9d (diff)
downloadframeworks_base-699c646839d45f6ae04a9c8a7ab2fd870995dffa.zip
frameworks_base-699c646839d45f6ae04a9c8a7ab2fd870995dffa.tar.gz
frameworks_base-699c646839d45f6ae04a9c8a7ab2fd870995dffa.tar.bz2
fix the build. handleSslErrorRequest needs a return value now.
Diffstat (limited to 'tests/CoreTests')
-rw-r--r--tests/CoreTests/android/core/TestEventHandler.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/CoreTests/android/core/TestEventHandler.java b/tests/CoreTests/android/core/TestEventHandler.java
index 4cfcade..45f2f69 100644
--- a/tests/CoreTests/android/core/TestEventHandler.java
+++ b/tests/CoreTests/android/core/TestEventHandler.java
@@ -497,7 +497,7 @@ public class TestEventHandler implements EventHandler {
* SSL certificate error callback. Handles SSL error(s) on the way
* up to the user.
*/
- public void handleSslErrorRequest(SslError error) {
+ public boolean handleSslErrorRequest(SslError error) {
int primaryError = error.getPrimaryError();
if (Config.LOGV) {
@@ -527,6 +527,9 @@ public class TestEventHandler implements EventHandler {
if (expectSslErrors == -1) // && expectSslCertificate == certificate?
expects[TEST_SSL_CERTIFICATE_ERROR] = false;
+
+ // return false so that we won't block the thread
+ return false;
}
/**