commit | fc1e1aeef9e152f5db4b2b9fce7aab16df03d6cd | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jul 07 13:23:07 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Jul 08 13:46:23 2020 -0700 |
tree | 337504c34f041c42fbe2a0de6c6afbc690012a34 | |
parent | d894b463f17892ef3c199c6c0b003e9f6bfde14c [diff] |
Try locking after mounting metadata In rescue mode, if /metadata is mounted but /metadata/ota does not exist, immeidately unmount /metadata and fallback to the code path when /metadata is not mounted; that is, old partitions are overwritten. Test: in recovery, select wipe then immediately sideload Bug: 160457903 Change-Id: I412d62b7005c81a7126106edc471622e6a7ef813 Merged-In: I412d62b7005c81a7126106edc471622e6a7ef813