No need to check package name
Change-Id: I8c403ca2bc38f2c7191b6e9a709286ac7e450ac4
Fixes: 30958291
(cherry picked from commit afb5269ad6)
This commit is contained in:
@@ -2290,11 +2290,7 @@ public class PackageParser {
|
||||
b.append(cls);
|
||||
return b.toString().intern();
|
||||
}
|
||||
if (c >= 'a' && c <= 'z') {
|
||||
return cls.intern();
|
||||
}
|
||||
outError[0] = "Bad class name " + cls + " in package " + pkg;
|
||||
return null;
|
||||
return cls.intern();
|
||||
}
|
||||
|
||||
private static String buildCompoundName(String pkg,
|
||||
@@ -2755,12 +2751,7 @@ public class PackageParser {
|
||||
}
|
||||
|
||||
if (ai.name != null) {
|
||||
ai.className = buildClassName(pkgName, ai.name, outError);
|
||||
if (ai.className == null) {
|
||||
sa.recycle();
|
||||
mParseError = PackageManager.INSTALL_PARSE_FAILED_MANIFEST_MALFORMED;
|
||||
return false;
|
||||
}
|
||||
ai.className = ai.name;
|
||||
}
|
||||
|
||||
String manageSpaceActivity = sa.getNonConfigurationString(
|
||||
|
||||
Reference in New Issue
Block a user