Merge "Make installd log A/B missing artifacts" am: 7dad29dc9a am: f8a4c39c39 am: 9d46ae8dc5
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1607279
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Icd7ed34779b08689186fdacd724564da123af1ce
diff --git a/cmds/installd/dexopt.cpp b/cmds/installd/dexopt.cpp
index 4dfd1d0..0cf50a3 100644
--- a/cmds/installd/dexopt.cpp
+++ b/cmds/installd/dexopt.cpp
@@ -2112,8 +2112,9 @@
{
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)) {