Merge "MetadataCrypt: extend timeout for low performance device" am: c2b0578e19 am: a38a2fa330 am: 3f2652163e am: 2866455471

Original change: https://android-review.googlesource.com/c/platform/system/vold/+/2422559

Change-Id: Id43c94047cf30c73c4569933e0973f34440ab9c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-02-17 21:18:14 +00:00 committed by Automerger Merge Worker
commit 2d6c9f6adb

View file

@ -194,7 +194,7 @@ static bool create_crypto_blk_dev(const std::string& dm_name, const std::string&
LOG(ERROR) << "Failed to populate default-key device " << dm_name;
return false;
}
if (!dm.WaitForDevice(dm_name, 5s, crypto_blkdev)) {
if (!dm.WaitForDevice(dm_name, 20s, crypto_blkdev)) {
LOG(ERROR) << "Failed to wait for default-key device " << dm_name;
return false;
}