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

Commit f34cce4c authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Double counting native libs in calculating install size" into main

parents 4d10b0df 9832d16a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -454,8 +454,10 @@ public class InstallLocationUtils {
        // Include raw dex metadata files
        sizeBytes += DexMetadataHelper.getPackageDexMetadataSize(pkg);

        if (pkg.isExtractNativeLibs()) {
            // Include all relevant native code
            sizeBytes += NativeLibraryHelper.sumNativeBinariesWithOverride(handle, abiOverride);
        }

        return sizeBytes;
    }