Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ed9ca62 authored by Andreas Gampe's avatar Andreas Gampe Committed by android-build-merger
Browse files

Merge "Installd: Do not log on missing B artifact" into nyc-dev

am: 0598f045

* commit '0598f045':
  Installd: Do not log on missing B artifact
parents d245c0dc 0598f045
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1852,7 +1852,8 @@ int move_ab(const char* apk_path, const char* instruction_set, const char* oat_d
    {
        struct stat s;
        if (stat(b_path.c_str(), &s) != 0) {
            LOG(ERROR) << "Can't find A/B artifact at " << b_path;
            // Silently ignore for now. The service calling this isn't smart enough to understand
            // lack of artifacts at the moment.
            return -1;
        }
        if (!S_ISREG(s.st_mode)) {