summaryrefslogtreecommitdiff
path: root/cmds/installd/otapreopt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/installd/otapreopt.cpp')
-rw-r--r--cmds/installd/otapreopt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/installd/otapreopt.cpp b/cmds/installd/otapreopt.cpp
index 4c75eb51e1..96d8c47a8a 100644
--- a/cmds/installd/otapreopt.cpp
+++ b/cmds/installd/otapreopt.cpp
@@ -549,6 +549,7 @@ private:
CHECK(EndsWith(path, "/"));
path = path + "oat";
if (access(path.c_str(), F_OK) == 0) {
+ LOG(INFO) << "Skipping A/B OTA preopt of already preopted package " << apk_path;
return true;
}
}
@@ -560,7 +561,7 @@ private:
// this tool will wipe the OTA artifact cache and try again (for robustness after
// a failed OTA with remaining cache artifacts).
if (access(apk_path, F_OK) != 0) {
- LOG(WARNING) << "Skipping preopt of non-existing package " << apk_path;
+ LOG(WARNING) << "Skipping A/B OTA preopt of non-existing package " << apk_path;
return true;
}