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

Commit 29971711 authored by Akilesh Kailash's avatar Akilesh Kailash
Browse files

libsnapshot: Fix vts_libsnapshot_test.SnapshotUpdateTest#FullUpdateFlow



Check if compression feature is enabled.

Bug: 238143011
Test: OTA
Signed-off-by: default avatarAkilesh Kailash <akailash@google.com>
Change-Id: I77663799a5371f1de8b4e29d7c777a24249d1b7b
Ignore-AOSP-First: already present in aosp/master
parent 621c74c0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2755,6 +2755,10 @@ bool IsDaemonRequired() {
        return false;
    }

    if (!IsCompressionEnabled()) {
        return false;
    }

    const std::string UNKNOWN = "unknown";
    const std::string vendor_release =
            android::base::GetProperty("ro.vendor.build.version.release_or_codename", UNKNOWN);