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

Commit e424bc24 authored by Jeff Tinker's avatar Jeff Tinker Committed by Android (Google) Code Review
Browse files

Merge "Fix mediaserver crash due to NULL errorDetailMessage"

parents 4a71e75d 0be134af
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -149,7 +149,10 @@ struct BpCrypto : public BpInterface<ICrypto> {
        ssize_t result = reply.readInt32();

        if (isCryptoError(result)) {
            errorDetailMsg->setTo(reply.readCString());
            AString msg = reply.readCString();
            if (errorDetailMsg) {
                *errorDetailMsg = msg;
            }
        }

        return result;