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

Commit 880d4a8a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by android-build-merger
Browse files

Merge "Don\'t count system partition code against size." into nyc-dev am: 2376f9d3

am: e5a8fc60

* commit 'e5a8fc60':
  Don't count system partition code against size.

Change-Id: I80aac87dbae374f04cf299d58e45a63f2c7c13bc
parents d1e516f0 e5a8fc60
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -16108,11 +16108,17 @@ public class PackageManagerService extends IPackageManager.Stub {
            mInstaller.getAppSize(ps.volumeUuid, packageName, userId,
                    StorageManager.FLAG_STORAGE_DE | StorageManager.FLAG_STORAGE_CE,
                    ps.getCeDataInode(userId), ps.codePathString, stats);
            return true;
        } catch (InstallerException e) {
            Slog.w(TAG, String.valueOf(e));
            return false;
        }
        // For now, ignore code size of packages on system partition
        if (isSystemApp(ps) && !isUpdatedSystemApp(ps)) {
            stats.codeSize = 0;
        }
        return true;
    }
    private int getUidTargetSdkVersionLockedLPr(int uid) {