commit | 3c2a56488b8993969d1d54669dc9a986477b02ed | [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 | c7075b45f2dd717aeb0bf396b6dcdf15c558826c [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