From 9f7743df9664f61891de143889f4145a30df2c4f Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Wed, 19 Feb 2020 20:31:12 -0800 Subject: Delete DynamicPartitionControl::CleanupSuccessfulUpdate It is replaced with GetCleanupPreviousUpdateAction now. Test: builds Change-Id: I8cb281bf811052d1dfea6c14c8685a90915cafa8 --- common/dynamic_partition_control_interface.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'common/dynamic_partition_control_interface.h') 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 -- cgit v1.2.3