summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-02-26 02:17:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-26 02:17:16 +0000
commit7dad29dc9a85d04e47e32cebc299dbe6afe47f22 (patch)
tree23c0068a90f361b590a1b0cbe67fd5d3d8cf4e33
parentc0c5fae60327a46587aef7d62261b2ff3b35a9f4 (diff)
parent9f29566182e8363a7ee0926512cfc13f1ff1706e (diff)
downloadnative-7dad29dc9a85d04e47e32cebc299dbe6afe47f22.tar.gz
Merge "Make installd log A/B missing artifacts"
-rw-r--r--cmds/installd/dexopt.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp
index 4dfd1d03ea..0cf50a3e32 100644
--- a/cmds/installd/dexopt.cpp
+++ b/cmds/installd/dexopt.cpp
@@ -2112,8 +2112,9 @@ static bool move_ab_path(const std::string& b_path, const std::string& a_path) {
{
struct stat s;
if (stat(b_path.c_str(), &s) != 0) {
- // Silently ignore for now. The service calling this isn't smart enough to understand
- // lack of artifacts at the moment.
+ // Ignore for now. The service calling this isn't smart enough to
+ // understand lack of artifacts at the moment.
+ LOG(VERBOSE) << "A/B artifact " << b_path << " does not exist!";
return false;
}
if (!S_ISREG(s.st_mode)) {