commit | 4327290387d2187a38fc00c01d460bc053c2c8ba | [log] [tgz] |
---|---|---|
author | Akilesh Kailash <akailash@google.com> | Wed Jul 13 17:25:40 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 13 17:25:40 2022 +0000 |
tree | 7bf53a76e069a19d8063942b33eb7949fc1f9b3b | |
parent | 621c74c06398074f0f7daefd713d5f3328e9a9d4 [diff] | |
parent | 299717115eb2bce20c5b74346903ed39eaaef675 [diff] |
libsnapshot: Fix vts_libsnapshot_test.SnapshotUpdateTest#FullUpdateFlow am: 299717115e Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/19263115 Change-Id: I487a3706561233cb3834593b570c80a9abfa6b3d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/fs_mgr/libsnapshot/snapshot_test.cpp b/fs_mgr/libsnapshot/snapshot_test.cpp index 6a348b4..c145da7 100644 --- a/fs_mgr/libsnapshot/snapshot_test.cpp +++ b/fs_mgr/libsnapshot/snapshot_test.cpp
@@ -2755,6 +2755,10 @@ 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);