commit | 34d1f0042b5a14f296572d02a3f23fe45d5ca5bd | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Mon May 18 19:14:39 2020 +0900 |
committer | Jooyung Han <jooyung@google.com> | Mon May 18 22:59:12 2020 +0900 |
tree | 2f8925e6c10e5ac8e2eb0c9017e826f8ad1dcdbb | |
parent | 1f30ce31467ca4698d22ccfd3339f54551a04a41 [diff] |
Remove corrupt apexes only if not active ApexFile::Open() could fail even when it is valid. Just in case, check if the path is active(mounted) or not. Bug: 143973464 Test: apexd_host_tests Change-Id: I09d4e702e34d6e354c9ddcf878daf259fd796bc1