Merge "Fix build for API change to DestroyLogicalPartition()." am: 4c8e6eae28

am: d3d51e5066

Change-Id: I92db6e376ef7f4ff5979e31b830b6d17a6886c03
This commit is contained in:
David Anderson
2019-07-13 11:26:04 -07:00
committed by android-build-merger

View File

@@ -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);