Fixed for AmazonWebView.
Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/e59bf273 Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/e59bf273 Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/e59bf273 Branch: refs/heads/master Commit: e59bf273b6a3c15a949ea0bc953dc74ca657d6ac Parents: 2d71d89 Author: Archana Naik <[email protected]> Authored: Mon Aug 18 12:43:59 2014 -0700 Committer: Archana Naik <[email protected]> Committed: Mon Aug 18 12:43:59 2014 -0700 ---------------------------------------------------------------------- framework/src/org/apache/cordova/CordovaWebViewClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/e59bf273/framework/src/org/apache/cordova/CordovaWebViewClient.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/CordovaWebViewClient.java b/framework/src/org/apache/cordova/CordovaWebViewClient.java index 0af891a..639fc32 100755 --- a/framework/src/org/apache/cordova/CordovaWebViewClient.java +++ b/framework/src/org/apache/cordova/CordovaWebViewClient.java @@ -235,7 +235,7 @@ public class CordovaWebViewClient extends AmazonWebViewClient { // If this is a "Protocol Not Supported" error, then revert to the previous // page. If there was no previous page, then punt. The application's config // is likely incorrect (start page set to sms: or something like that) - if (errorCode == WebViewClient.ERROR_UNSUPPORTED_SCHEME) { + if (errorCode == AmazonWebViewClient.ERROR_UNSUPPORTED_SCHEME) { if (view.canGoBack()) { view.goBack(); return;
