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

Commit 38b7d0bd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Log loudly when the binder driver returns an error"

parents ee436e4f bf14463e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1221,6 +1221,10 @@ status_t IPCThreadState::talkWithDriver(bool doReceive)
        return NO_ERROR;
    }

    ALOGE_IF(mProcess->mDriverFD >= 0,
             "Driver returned error (%s). This is a bug in either libbinder or the driver. This "
             "thread's connection to %s will no longer work.",
             statusToString(err).c_str(), mProcess->mDriverName.c_str());
    return err;
}