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

Commit 83bdd541 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

Merge "Merge "[incremental native lib] skip writing to zero byte files" into rvc-dev am: 9cce14eb am: 042434f4" into rvc-d1-dev-plus-aosp am: 205e0dc3

Change-Id: Ib12ebe363cf9ab0e25978173153f8ff6cf610494
parents 39f5eade 205e0dc3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1169,6 +1169,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);