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:
parent
621c74c063
commit
299717115e
1 changed files with 4 additions and 0 deletions
|
|
@ -2755,6 +2755,10 @@ bool IsDaemonRequired() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!IsCompressionEnabled()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
const std::string UNKNOWN = "unknown";
|
const std::string UNKNOWN = "unknown";
|
||||||
const std::string vendor_release =
|
const std::string vendor_release =
|
||||||
android::base::GetProperty("ro.vendor.build.version.release_or_codename", UNKNOWN);
|
android::base::GetProperty("ro.vendor.build.version.release_or_codename", UNKNOWN);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue