Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19545b4c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Refactor: Remove unused branch." am: a9f7998f am: 4d720322

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1820992

Change-Id: Ie373ca3f846f24672d61ebb34216eba3daeff0f9
parents e56fedb0 4d720322
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;