You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/04/13 22:00:52 UTC
[1/5] android commit: Removing runnable code for timeout because it's
not thread-safe
Updated Branches:
refs/heads/CordovaWebView 1794f2e04 -> 8ac274cdc
Removing runnable code for timeout because it's not thread-safe
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/8ac274cd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/8ac274cd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/8ac274cd
Branch: refs/heads/CordovaWebView
Commit: 8ac274cdca8bc29ed1904b2b7c71db3403a551db
Parents: fea79bc
Author: Joe Bowser <bo...@apache.org>
Authored: Fri Apr 13 13:00:39 2012 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Apr 13 13:00:39 2012 -0700
----------------------------------------------------------------------
framework/src/org/apache/cordova/DroidGap.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/8ac274cd/framework/src/org/apache/cordova/DroidGap.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/DroidGap.java b/framework/src/org/apache/cordova/DroidGap.java
index 2bb1cdd..04cd01d 100755
--- a/framework/src/org/apache/cordova/DroidGap.java
+++ b/framework/src/org/apache/cordova/DroidGap.java
@@ -407,9 +407,11 @@ public class DroidGap extends Activity implements CordovaInterface {
// If timeout, then stop loading and handle error
if (me.loadUrlTimeout == currentLoadUrlTimeout) {
+ /*
me.appView.stopLoading();
LOG.e(TAG, "DroidGap: TIMEOUT ERROR! - calling webViewClient");
me.webViewClient.onReceivedError(me.appView, -6, "The connection to the server was unsuccessful.", url);
+ */
}
}
};