mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
CB-2391: False positive, this affects 4.2.2, not ICS. Bug breaks before we get to this point. :(
This commit is contained in:
parent
9ac4b570e6
commit
c0a39570c9
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user