Merge "Does safe authority comparison in AppsFilter"
This commit is contained in:
committed by
Android (Google) Code Review
commit
235a9b303a
@@ -211,7 +211,7 @@ public class AppsFilter {
|
||||
final Uri data = intent.getData();
|
||||
if ("content".equalsIgnoreCase(intent.getScheme())
|
||||
&& data != null
|
||||
&& providerInfo.authority.equalsIgnoreCase(data.getAuthority())) {
|
||||
&& Objects.equals(providerInfo.authority, data.getAuthority())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user