Merge "Ignore port when matching with wildcards" into rvc-dev am: d1b6afcc19 am: 7a1f6344fd am: f8dff3cc6c

Change-Id: If1dfa534300691b513aa011c392ffabd71a15820
This commit is contained in:
TreeHugger Robot
2020-05-15 18:13:09 +00:00
committed by Automerger Merge Worker

View File

@@ -1183,7 +1183,8 @@ public class IntentFilter implements Parcelable {
return NO_MATCH_DATA;
}
}
if (mPort >= 0) {
// if we're dealing with wildcard support, we ignore ports
if (!wildcardSupported && mPort >= 0) {
if (mPort != data.getPort()) {
return NO_MATCH_DATA;
}