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

Commit 58f8fb0e authored by Rhed Jao's avatar Rhed Jao Committed by Android (Google) Code Review
Browse files

Merge "Fix queries tag for browsers matches intent filters incorrectly"

parents 4c4ba39a 0815ac13
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1182,7 +1182,7 @@ public class IntentFilter implements Parcelable {
        public int match(Uri data, boolean wildcardSupported) {
        public int match(Uri data, boolean wildcardSupported) {
            String host = data.getHost();
            String host = data.getHost();
            if (host == null) {
            if (host == null) {
                if (wildcardSupported && mWild) {
                if (wildcardSupported && mWild && mHost.isEmpty()) {
                    // special case, if no host is provided, but the Authority is wildcard, match
                    // special case, if no host is provided, but the Authority is wildcard, match
                    return MATCH_CATEGORY_HOST;
                    return MATCH_CATEGORY_HOST;
                } else {
                } else {