am f696efa2: Merge "Fix issue #17948584: Application crash and phone restart when app..." into lmp-mr1-dev
* commit 'f696efa206089bde1274d972239ffb5a8185f613': Fix issue #17948584: Application crash and phone restart when app...
This commit is contained in:
@@ -3528,6 +3528,10 @@ public class PackageParser {
|
||||
outError[0] = "<provider> does not include authorities attribute";
|
||||
return null;
|
||||
}
|
||||
if (cpname.length() <= 0) {
|
||||
outError[0] = "<provider> has empty authorities attribute";
|
||||
return null;
|
||||
}
|
||||
p.info.authority = cpname.intern();
|
||||
|
||||
if (!parseProviderTags(res, parser, attrs, p, outError)) {
|
||||
|
||||
Reference in New Issue
Block a user