From c0a39570c979a68baf5c49dece0088080b4cbe3b Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Fri, 14 Jun 2013 17:03:40 -0700 Subject: [PATCH] CB-2391: False positive, this affects 4.2.2, not ICS. Bug breaks before we get to this point. :( --- .../org/apache/cordova/IceCreamCordovaWebViewClient.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java b/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java index c4fdbf4e..1e190b66 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: