Fix build for API change to DestroyLogicalPartition().
This method no longer contains a timeout parameter; it has been removed in favor of changes to libdm. Bug: 135771280 Test: builds Change-Id: Id8c0f17c2787412bc4588af5a1bc49cc8e6edd51
This commit is contained in:
@@ -53,7 +53,7 @@ static bool UnmapPartitionOnDeviceMapper(const std::string& partition_name) {
|
||||
return true;
|
||||
}
|
||||
if (state == DmDeviceState::ACTIVE) {
|
||||
return DestroyLogicalPartition(partition_name, kMapTimeout);
|
||||
return DestroyLogicalPartition(partition_name);
|
||||
}
|
||||
LOG(ERROR) << "Unknown device mapper state: "
|
||||
<< static_cast<std::underlying_type_t<DmDeviceState>>(state);
|
||||
|
||||
Reference in New Issue
Block a user