diff options
author | Grace Kloba <klobag@google.com> | 2009-08-03 11:46:44 -0700 |
---|---|---|
committer | Grace Kloba <klobag@google.com> | 2009-08-03 11:46:44 -0700 |
commit | 699c646839d45f6ae04a9c8a7ab2fd870995dffa (patch) | |
tree | bfbb1367a82ed6efc1c4fc1c5d40e73c6018f721 /tests/CoreTests | |
parent | 8050220374e67e0ffa9d92551f422c02cacadd9d (diff) | |
download | frameworks_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.java | 5 |
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; } /** |