commit | 2e094636abd3748c13493ef13c511796a0406079 | [log] [tgz] |
---|---|---|
author | Akilesh Kailash <akailash@google.com> | Wed Jul 13 17:42:57 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Jul 13 17:42:57 2022 +0000 |
tree | 83ae4743f9c169a55a319aef55f1528792bcd3c4 | |
parent | bb64af6a74bd3a18ed0feb74e89881f6baef94df [diff] | |
parent | 4327290387d2187a38fc00c01d460bc053c2c8ba [diff] |
libsnapshot: Fix vts_libsnapshot_test.SnapshotUpdateTest#FullUpdateFlow am: 299717115e am: 4327290387 Original change: https://googleplex-android-review.googlesource.com/c/platform/system/core/+/19263115 Change-Id: I595a57d227bdcbf5adb4676c6e188efc48e0dad2 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);