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

Commit c24cf9dc authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Log loudly when the binder driver returns an error" am: 38b7d0bd

parents a3133ee1 38b7d0bd
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;
}