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

Commit 801c28e2 authored by David Brazdil's avatar David Brazdil Committed by android-build-merger
Browse files

Merge "Remove UsageStats post-OTA package update filter" into nyc-dev

am: e502345d

* commit 'e502345d':
  Remove UsageStats post-OTA package update filter

Change-Id: I8e0b8732191a542ac4e95acdd3b76275cff574e2
parents a27376d8 e502345d
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -7091,9 +7091,6 @@ public class PackageManagerService extends IPackageManager.Stub {
            pkgs = PackageManagerServiceUtils.getPackagesForDexopt(mPackages.values(), this);
        }
        UsageStatsManager usageMgr =
                (UsageStatsManager) mContext.getSystemService(Context.USAGE_STATS_SERVICE);
        int curr = 0;
        int total = pkgs.size();
        for (PackageParser.Package pkg : pkgs) {
@@ -7106,13 +7103,6 @@ public class PackageManagerService extends IPackageManager.Stub {
                continue;
            }
            if (!causeFirstBoot && usageMgr.isAppInactive(pkg.packageName)) {
                if (DEBUG_DEXOPT) {
                    Log.i(TAG, "Skipping update of of idle app " + pkg.packageName);
                }
                continue;
            }
            if (DEBUG_DEXOPT) {
                Log.i(TAG, "Extracting app " + curr + " of " + total + ": " + pkg.packageName);
            }