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

Commit 4f7a2bff authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: hide kDefaultMaxOutgoingConnections

We don't need to expose this.

Bug: 270374393
Test: N/A
Change-Id: I166f3d78ab2c3a3ed728d18b9b7a289a2bdc9815
parent e65f73c8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,8 +54,6 @@ constexpr uint32_t RPC_WIRE_PROTOCOL_VERSION_RPC_HEADER_FEATURE_EXPLICIT_PARCEL_
 */
class RpcSession final : public virtual RefBase {
public:
    static constexpr size_t kDefaultMaxOutgoingConnections = 10;

    // Create an RpcSession with default configuration (raw sockets).
    static sp<RpcSession> make();

@@ -223,6 +221,8 @@ private:
    friend RpcState;
    explicit RpcSession(std::unique_ptr<RpcTransportCtx> ctx);

    static constexpr size_t kDefaultMaxOutgoingConnections = 10;

    // internal version of setProtocolVersion that
    // optionally skips the mStartedSetup check
    [[nodiscard]] bool setProtocolVersionInternal(uint32_t version, bool checkStarted);