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

Commit f2db00fd authored by Brian Carlstrom's avatar Brian Carlstrom Committed by Android Git Automerger
Browse files

am edb88bcd: Merge "Use package usage information to decide what dex files to...

am edb88bcd: Merge "Use package usage information to decide what dex files to optimize in PackageManagerService"

* commit 'edb88bcd':
  Use package usage information to decide what dex files to optimize in PackageManagerService
parents cc6b9eb2 edb88bcd
Loading
Loading
Loading
Loading
+7 −4
Original line number Original line Diff line number Diff line
@@ -3534,8 +3534,11 @@ public class PackageParser {
        // file an app came from.
        // file an app came from.
        public String mScanPath;
        public String mScanPath;


        // For use by package manager to keep track of where it has done dexopt.
        // For use by package manager to keep track of where it needs to do dexopt.
        public boolean mDidDexOpt;
        public boolean mDexOptNeeded = true;

        // For use by package manager to keep track of when a package was last used.
        public long mLastPackageUsageTimeInMills;


        // // User set enabled state.
        // // User set enabled state.
        // public int mSetEnabled = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
        // public int mSetEnabled = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
+1 −1
Original line number Original line Diff line number Diff line
@@ -924,7 +924,7 @@ public final class ActivityManagerService extends ActivityManagerNative
    /**
    /**
     * This is set if we had to do a delayed dexopt of an app before launching
     * This is set if we had to do a delayed dexopt of an app before launching
     * it, to increasing the ANR timeouts in that case.
     * it, to increase the ANR timeouts in that case.
     */
     */
    boolean mDidDexOpt;
    boolean mDidDexOpt;
+267 −71

File changed.

Preview size limit exceeded, changes collapsed.

+9 −0

File changed.

Preview size limit exceeded, changes collapsed.