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

Commit 37d9d0aa authored by Steven Moreland's avatar Steven Moreland
Browse files

RPC Binder: log elevated error

This path in RPC State may hide when certain errors occur, so
explicitly logging this case.

Bug: 419364025
Bug: 419074122
Test: binderRpcTest
Change-Id: Ifee9cdc72967ed0844f284eb4ef03c204c701e2f
parent a465ea0e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1181,6 +1181,12 @@ processTransactInternalTailCall:
        // Forward the error to the client of the transaction.
        reply.freeData();
        reply.markForRpc(session);

        if (replyStatus != OK) {
            ALOGE("Dropping error from transaction (%s) due to more serious error in "
                  "validateParcel (%s)",
                  statusToString(replyStatus).c_str(), statusToString(status).c_str());
        }
        replyStatus = status;
    }