commit | 44033e75cc8857586f6eb8d34466d4a9224fe832 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Jul 07 13:23:07 2020 -0700 |
committer | Alessio Balsini <balsini@google.com> | Wed Jul 08 11:00:10 2020 +0000 |
tree | db3abac1d6e49fa64c28ae67241c8c9c0d5af2c9 | |
parent | 4e864e121640977cb6c1843121b796c6687249d4 [diff] |
Try locking after mounting metadata In rescue mode, if /metadata is mounted but /metadata/ota does not exist, immediately 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