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:
Todd Kennedy
2016-04-11 22:06:35 +00:00
committed by android-build-merger
2 changed files with 266 additions and 19 deletions

View File

@@ -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