commit | 298fa3264f197fb0c871499c3ec16a0b0ff39580 | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Tue Oct 30 15:59:24 2018 -0700 |
committer | Paul Crowley <paulcrowley@google.com> | Fri Nov 02 15:48:03 2018 -0700 |
tree | 720e6c361955149385338b5a7b452bce2b44dd7d | |
parent | 2e4f425995f572623aa150d543e0b0edb2d138cb [diff] |
Wait for dm device to be ready before format It can sometimes take a moment for the dm-device to appear after creation, causing operations on it such as formatting to fail. Ensure the device exists before create_crypto_blk_dev returns. Test: adb sm set-virtual-disk true and format as adoptable. Bug: 117586466 Change-Id: Id8f571b551f50fc759e78d917e4ac3080e926722