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

Commit edb88bcd authored by Brian Carlstrom's avatar Brian Carlstrom Committed by Gerrit Code Review
Browse files

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

parents 92ddac04 ff1ec4d9
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -3534,8 +3534,11 @@ public class PackageParser {
        // file an app came from.
        public String mScanPath;

        // For use by package manager to keep track of where it has done dexopt.
        public boolean mDidDexOpt;
        // For use by package manager to keep track of where it needs to do dexopt.
        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.
        // public int mSetEnabled = PackageManager.COMPONENT_ENABLED_STATE_DEFAULT;
+1 −1
Original line number 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
     * it, to increasing the ANR timeouts in that case.
     * it, to increase the ANR timeouts in that case.
     */
    boolean mDidDexOpt;
+267 −71

File changed.

Preview size limit exceeded, changes collapsed.

+9 −0

File changed.

Preview size limit exceeded, changes collapsed.