diff options
| author | Yifan Hong <elsk@google.com> | 2020-02-19 20:31:12 -0800 |
|---|---|---|
| committer | Yifan Hong <elsk@google.com> | 2020-03-05 08:48:57 -0800 |
| commit | 346adaa70219bed369f07724e596e65679db4a81 (patch) | |
| tree | 661ca9eb5c6b8035b9f4536d77614da579c413e1 /common/dynamic_partition_control_interface.h | |
| parent | b45ec66aafec59a108769edd1777ac8b7ea32e63 (diff) | |
Delete DynamicPartitionControl::CleanupSuccessfulUpdate
It is replaced with GetCleanupPreviousUpdateAction now.
Test: builds
Bug: 147696014
Change-Id: I8cb281bf811052d1dfea6c14c8685a90915cafa8
Merged-In: I8cb281bf811052d1dfea6c14c8685a90915cafa8
Diffstat (limited to 'common/dynamic_partition_control_interface.h')
| -rw-r--r-- | common/dynamic_partition_control_interface.h | 9 |
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 |
