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

Commit ec8328db authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Null is a valid volume uuid.

Bug: 265477208
Fixes: 265477208
Test: atest InstallSessionParamsUnitTest
Change-Id: Ib2af1afc78b3d9c6d8eb534e5f536aae153eeeb0
parent e7a8a48f
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;