Merge "Fixes crash when provider has null authorities"

This commit is contained in:
Patrick Baumann
2020-02-21 16:06:13 +00:00
committed by Android (Google) Code Review

View File

@@ -247,6 +247,9 @@ public class AppsFilter {
if (!provider.isExported()) {
continue;
}
if (provider.getAuthority() == null) {
continue;
}
StringTokenizer authorities = new StringTokenizer(provider.getAuthority(), ";",
false);
while (authorities.hasMoreElements()) {