Merge "No need to check package name" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
40db730b7f
@@ -2290,11 +2290,7 @@ public class PackageParser {
|
|||||||
b.append(cls);
|
b.append(cls);
|
||||||
return b.toString().intern();
|
return b.toString().intern();
|
||||||
}
|
}
|
||||||
if (c >= 'a' && c <= 'z') {
|
return cls.intern();
|
||||||
return cls.intern();
|
|
||||||
}
|
|
||||||
outError[0] = "Bad class name " + cls + " in package " + pkg;
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String buildCompoundName(String pkg,
|
private static String buildCompoundName(String pkg,
|
||||||
@@ -2755,12 +2751,7 @@ public class PackageParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ai.name != null) {
|
if (ai.name != null) {
|
||||||
ai.className = buildClassName(pkgName, ai.name, outError);
|
ai.className = ai.name;
|
||||||
if (ai.className == null) {
|
|
||||||
sa.recycle();
|
|
||||||
mParseError = PackageManager.INSTALL_PARSE_FAILED_MANIFEST_MALFORMED;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String manageSpaceActivity = sa.getNonConfigurationString(
|
String manageSpaceActivity = sa.getNonConfigurationString(
|
||||||
|
|||||||
Reference in New Issue
Block a user