commit | 421e3d3cc6062de375e02a828532429f630602f4 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Sep 06 17:25:03 2018 -0700 |
committer | David Anderson <dvander@google.com> | Thu Sep 06 17:38:06 2018 -0700 |
tree | 1dc3fd81ededba81ae335cdc064ad656e19a2d21 | |
parent | 1a2055c8ee112f7bbc171fa0b4a54e6b43aa9688 [diff] |
fastbootd: Wait for /dev/block paths when opening logical partitions. Note that in addition to waiting for the path to appear, we must also wait for it to be unlinked. Otherwise, we could accidentally access an older device when opening and closing the same partition twice in a row. Bug: 114198005 Test: fastboot flashall works Change-Id: Iddffc34e1ac8aa066c28e7b1a92b09b6dfd7945c