Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afb5269a authored by Todd Kennedy's avatar Todd Kennedy
Browse files

No need to check package name

Change-Id: I8c403ca2bc38f2c7191b6e9a709286ac7e450ac4
Fixes: 30958291
parent e24a4590
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -2290,12 +2290,8 @@ 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;
    }

    private static String buildCompoundName(String pkg,
            CharSequence procSeq, String type, String[] outError) {
@@ -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(