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

Commit b5f732fa authored by Adnan Begovic's avatar Adnan Begovic
Browse files

PackageManagerService: Don't attempt to dexopt platform-res.

  Otherwise installd will logspew about its inablity to create
  a dex file for something that doesn't really have any code.

Change-Id: I300d66d798f4cc1cee0c6ec9ac5e3e2127107216
parent 5d0d089a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2003,6 +2003,10 @@ public class PackageManagerService extends IPackageManager.Stub {
            // avoid the resulting log spew.
            alreadyDexOpted.add(frameworkDir.getPath() + "/core-libart.jar");
            // Gross hack for now: we know this file doesn't contain any
            // code, so don't dexopt it to avoid the resulting log spew
            alreadyDexOpted.add(frameworkDir.getPath() + "/org.cyanogenmod.platform-res.apk");
            /**
             * There are a number of commands implemented in Java, which
             * we currently need to do the dexopt on so that they can be