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

Commit 3fae7a0c authored by Alex Buynytskyy's avatar Alex Buynytskyy Committed by Song Chun Fan
Browse files

[RESTRICT AUTOMERGE] Null is a valid volume uuid.

Bug: 265477208
Fixes: 265477208
Test: atest InstallSessionParamsUnitTest
Change-Id: Ib2af1afc78b3d9c6d8eb534e5f536aae153eeeb0
(cherry picked from commit ec8328db)
Merged-In: Ib2af1afc78b3d9c6d8eb534e5f536aae153eeeb0
parent 3f60b9a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -292,7 +292,7 @@ public class InstallLocationUtils {

        // For new installations of a predefined size, check property to let it through
        // regardless of the actual free space.
        if (bestCandidate != null && Integer.MAX_VALUE == params.sizeBytes
        if (!volumePaths.isEmpty() && Integer.MAX_VALUE == params.sizeBytes
                && SystemProperties.getBoolean("debug.pm.install_skip_size_check_for_maxint",
                false)) {
            return bestCandidate;