Merge "Refactor: Remove unused branch." am: a9f7998ff4 am: 4d7203226a am: 19545b4cc5 am: 45b057561e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1820992 Change-Id: I21c282f211c5d7291f2e684fee490a6b005a721f
This commit is contained in:
@@ -310,7 +310,7 @@ public final class URLUtil {
|
|||||||
String extension = null;
|
String extension = null;
|
||||||
|
|
||||||
// If we couldn't do anything with the hint, move toward the content disposition
|
// 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);
|
filename = parseContentDisposition(contentDisposition);
|
||||||
if (filename != null) {
|
if (filename != null) {
|
||||||
int index = filename.lastIndexOf('/') + 1;
|
int index = filename.lastIndexOf('/') + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user