DO NOT MERGE Fix intent filter priorities am: eeb970a
am: cd24c4e
* commit 'cd24c4ebc0904342b5c9657c43dfa6c07c6e1eec':
DO NOT MERGE Fix intent filter priorities
Change-Id: Idc3d639cd5494210f06f46b644f465be26eca9b1
This commit is contained in:
@@ -883,6 +883,15 @@ public class IntentFilter implements Parcelable {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj instanceof AuthorityEntry) {
|
||||
final AuthorityEntry other = (AuthorityEntry)obj;
|
||||
return match(other);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether this AuthorityEntry matches the given data Uri.
|
||||
* <em>Note that this comparison is case-sensitive, unlike formal
|
||||
@@ -917,7 +926,7 @@ public class IntentFilter implements Parcelable {
|
||||
}
|
||||
return MATCH_CATEGORY_HOST;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new Intent data "scheme specific part" to match against. The filter must
|
||||
|
||||
Reference in New Issue
Block a user