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
This commit is contained in:
parent
ff3fdf36ef
commit
bfbd9b0e6e
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue