summaryrefslogtreecommitdiff
path: root/common/dynamic_partition_control_stub.cc
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-03-24 17:47:32 -0700
committerYifan Hong <elsk@google.com>2020-03-27 23:05:13 +0000
commit7b3910a58bd0b8d9f0bd316fad5776ef0a8494ba (patch)
tree849b427901ee0b22d7efd49f07ea236b8fc4650a /common/dynamic_partition_control_stub.cc
parent37ae85653198123fc28a4ce1de25d2e56ee6a3a2 (diff)
Allow forward merge on powerwash.
If package schedules powerwash, snapshots on a Virtual A/B device will be deleted. Tell SnapshotManager to handle this case. Test: apply downgrade package Test: apply package with wipe Test: apply package then manually wipe Bug: 152094219 Change-Id: I8601b661924abcc82956788e2f33cdb70d71f778
Diffstat (limited to 'common/dynamic_partition_control_stub.cc')
-rw-r--r--common/dynamic_partition_control_stub.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dynamic_partition_control_stub.cc b/common/dynamic_partition_control_stub.cc
index 1239eab0..903b7ee0 100644
--- a/common/dynamic_partition_control_stub.cc
+++ b/common/dynamic_partition_control_stub.cc
@@ -51,7 +51,7 @@ bool DynamicPartitionControlStub::PreparePartitionsForUpdate(
return true;
}
-bool DynamicPartitionControlStub::FinishUpdate() {
+bool DynamicPartitionControlStub::FinishUpdate(bool powerwash_required) {
return true;
}