Partially revert "Sanity check that no downgrade package on launch VAB device." am: 2f1ca0367f am: 1a9836a130
am: 76b39541bf
Change-Id: I6014cfea959aa69a0e21b3b48b7472825adff91b
diff --git a/dynamic_partition_control_android.cc b/dynamic_partition_control_android.cc
index bc60c57..c641a6b 100644
--- a/dynamic_partition_control_android.cc
+++ b/dynamic_partition_control_android.cc
@@ -375,13 +375,6 @@
return PrepareSnapshotPartitionsForUpdate(
source_slot, target_slot, manifest);
}
-
- if (GetVirtualAbFeatureFlag().IsLaunch() && !target_supports_snapshot_) {
- LOG(ERROR) << "Cannot downgrade to a build that does not support "
- << "snapshots because this device launches with Virtual A/B.";
- return false;
- }
-
if (!snapshot_->CancelUpdate()) {
LOG(ERROR) << "Cannot cancel previous update.";
return false;