summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-07-13 20:44:04 +0200
committerandroid-build-merger <android-build-merger@google.com>2019-07-13 20:44:04 +0200
commit8c32ca6f4129f22fee36b4404e8e1b996011c926 (patch)
tree1d1b52e2e3307d7de949420f83e70d103eed0e4f
parent[automerger skipped] minadbd sends heartbeat to rescue service for getprop command. am: 0bbb2ed53e -s ours (diff)
parentMerge "Fix build for API change to DestroyLogicalPartition()." am: 4c8e6eae28 am: d3d51e5066 (diff)
downloadandroid_bootable_recovery-8c32ca6f4129f22fee36b4404e8e1b996011c926.tar
android_bootable_recovery-8c32ca6f4129f22fee36b4404e8e1b996011c926.tar.gz
android_bootable_recovery-8c32ca6f4129f22fee36b4404e8e1b996011c926.tar.bz2
android_bootable_recovery-8c32ca6f4129f22fee36b4404e8e1b996011c926.tar.lz
android_bootable_recovery-8c32ca6f4129f22fee36b4404e8e1b996011c926.tar.xz
android_bootable_recovery-8c32ca6f4129f22fee36b4404e8e1b996011c926.tar.zst
android_bootable_recovery-8c32ca6f4129f22fee36b4404e8e1b996011c926.zip
-rw-r--r--updater/updater_runtime_dynamic_partitions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/updater_runtime_dynamic_partitions.cpp b/updater/updater_runtime_dynamic_partitions.cpp
index e9f4c97c9..b084f6592 100644
--- a/updater/updater_runtime_dynamic_partitions.cpp
+++ b/updater/updater_runtime_dynamic_partitions.cpp
@@ -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);