Fixes crash when provider has null authorities
Bug: 143901347 Test: atest AppEnumerationTests Change-Id: Ib85021b2ae98d27bab3bc96c07de1546aa5e3a45
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user