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

Commit a716bcab authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi Committed by Automerger Merge Worker
Browse files

Merge "[incremental native lib] skip writing to zero byte files" into rvc-dev...

Merge "[incremental native lib] skip writing to zero byte files" into rvc-dev am: 9cce14eb am: 042434f4 am: 2841d540

Change-Id: I4ed3438972d84ce10ac1f9c89d2349a3e70b2e5f
parents 4f8df8fd 2841d540
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1170,6 +1170,10 @@ bool IncrementalService::configureNativeBinaries(StorageId storage, std::string_
            // If one lib file fails to be created, abort others as well
            break;
        }
        // If it is a zero-byte file, skip data writing
        if (uncompressedLen == 0) {
            continue;
        }

        // Write extracted data to new file
        std::vector<uint8_t> libData(uncompressedLen);