libsnapshot: Fix vts_libsnapshot_test.SnapshotUpdateTest#FullUpdateFlow

Check if compression feature is enabled.

Bug: 238143011
Test: OTA
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I77663799a5371f1de8b4e29d7c777a24249d1b7b
Ignore-AOSP-First: already present in aosp/master
This commit is contained in:
Akilesh Kailash 2022-07-12 05:23:48 +00:00
parent 621c74c063
commit 299717115e

View file

@ -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);