summaryrefslogtreecommitdiff
path: root/common/dynamic_partition_control_interface.h
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2020-02-19 20:31:12 -0800
committerYifan Hong <elsk@google.com>2020-03-05 16:41:12 +0000
commit9f7743df9664f61891de143889f4145a30df2c4f (patch)
treea9809a8130da5eee80070353948ffb0ddb760445 /common/dynamic_partition_control_interface.h
parent40bb0d0220193fee56888c3d408154b6457a0b5d (diff)
Delete DynamicPartitionControl::CleanupSuccessfulUpdate
It is replaced with GetCleanupPreviousUpdateAction now. Test: builds Change-Id: I8cb281bf811052d1dfea6c14c8685a90915cafa8
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
-rw-r--r--common/dynamic_partition_control_interface.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/dynamic_partition_control_interface.h b/common/dynamic_partition_control_interface.h
index 8de9d76a..952e8d4d 100644
--- a/common/dynamic_partition_control_interface.h
+++ b/common/dynamic_partition_control_interface.h
@@ -84,15 +84,6 @@ class DynamicPartitionControlInterface {
// this function to indicate writes to new partitions are done.
virtual bool FinishUpdate() = 0;
- // Deprecated. Use GetCleanupPreviousUpdateAction instead.
- // Before applying the next update, call this function to clean up previous
- // update files. This function blocks until delta files are merged into
- // current OS partitions and finished cleaning up.
- // - If successful, return kSuccess.
- // - If any error, but caller should retry after reboot, return kError.
- // - If any irrecoverable failures, return kDeviceCorrupted.
- virtual ErrorCode CleanupSuccessfulUpdate() = 0;
-
// Get an action to clean up previous update.
// Return NoOpAction on non-Virtual A/B devices.
// Before applying the next update, run this action to clean up previous