commit | cfe3972f2d31ae0bfc33b0d9d84ea08d1cb55589 | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Tue Oct 30 15:59:24 2018 -0700 |
committer | Paul Crowley <paulcrowley@google.com> | Mon Nov 05 13:59:08 2018 -0800 |
tree | a0f28c864a88bdba3b294e6d8bf5409e078f93c8 | |
parent | ddbd8325f53a29200d512e018d0a456cb0942ead [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 Merged-In: Id8f571b551f50fc759e78d917e4ac3080e926722