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

Commit 239a2cad authored by Yifan Hong's avatar Yifan Hong
Browse files

RpcState: fix check.

Test: pass
Change-Id: I876559699f17637060a19300ee6bcd4b4c2bd3fb
parent f2acc8dc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -483,7 +483,7 @@ static void cleanup_reply_data(Parcel* p, const uint8_t* data, size_t dataSize,
    delete[] const_cast<uint8_t*>(data - offsetof(RpcWireReply, data));
    (void)dataSize;
    LOG_ALWAYS_FATAL_IF(objects != nullptr);
    LOG_ALWAYS_FATAL_IF(objectsCount, 0);
    LOG_ALWAYS_FATAL_IF(objectsCount != 0, "%zu objects remaining", objectsCount);
}

status_t RpcState::waitForReply(const sp<RpcSession::RpcConnection>& connection,