cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: CB-2391: False positive, this affects 4.2.2, not ICS. Bug breaks before we get to this point. :(
Date Sat, 15 Jun 2013 00:03:58 GMT
Updated Branches:
  refs/heads/master 9ac4b570e -> c0a39570c


CB-2391: False positive, this affects 4.2.2, not ICS.  Bug breaks before we get to this point.
:(


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/c0a39570
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/c0a39570
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/c0a39570

Branch: refs/heads/master
Commit: c0a39570c979a68baf5c49dece0088080b4cbe3b
Parents: 9ac4b57
Author: Joe Bowser <bowserj@apache.org>
Authored: Fri Jun 14 17:03:40 2013 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Fri Jun 14 17:03:40 2013 -0700

----------------------------------------------------------------------
 .../src/org/apache/cordova/IceCreamCordovaWebViewClient.java | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/c0a39570/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java b/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
index c4fdbf4..1e190b6 100644
--- a/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
+++ b/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
@@ -84,16 +84,10 @@ public class IceCreamCordovaWebViewClient extends CordovaWebViewClient
{
     }
 
     private static boolean needsIceCreamSpecialsInAssetUrlFix(String url) {
-        // Encoded Spaces
         if (!url.contains("%20")){
             return false;
         }
-        
-        // colons
-        if(url.split(":").length <= 2) {
-            return false;
-        }
-        
+
         switch(android.os.Build.VERSION.SDK_INT){
             case android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH:
             case android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1:


Mime
View raw message