diff --git a/core/java/android/webkit/URLUtil.java b/core/java/android/webkit/URLUtil.java index 844b156b84d38..c7609a6c18af6 100644 --- a/core/java/android/webkit/URLUtil.java +++ b/core/java/android/webkit/URLUtil.java @@ -310,7 +310,7 @@ public final class URLUtil { String extension = null; // If we couldn't do anything with the hint, move toward the content disposition - if (filename == null && contentDisposition != null) { + if (contentDisposition != null) { filename = parseContentDisposition(contentDisposition); if (filename != null) { int index = filename.lastIndexOf('/') + 1;