Merge "Fix issue #17948584: Application crash and phone restart when app..." into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f696efa206
@@ -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