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

Commit 9f14ce60 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: mark transact as final

Subclasses of BpBinder/BBinder should override onTransact, not transact.

Bug: 136027762
Test: TH
Change-Id: I1d48ac8c4b5cb147e1d378e6ce1238338d93d3e7
parent a9860b6d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ public:
    virtual status_t    transact(   uint32_t code,
                                    const Parcel& data,
                                    Parcel* reply,
                                    uint32_t flags = 0);
                                    uint32_t flags = 0) final;

    // NOLINTNEXTLINE(google-default-arguments)
    virtual status_t    linkToDeath(const sp<DeathRecipient>& recipient,
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ public:
    virtual status_t    transact(   uint32_t code,
                                    const Parcel& data,
                                    Parcel* reply,
                                    uint32_t flags = 0);
                                    uint32_t flags = 0) final;

    // NOLINTNEXTLINE(google-default-arguments)
    virtual status_t    linkToDeath(const sp<DeathRecipient>& recipient,