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

Commit 16794fd3 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "libbinder: remove MemoryHeapBase::setDevice"

parents 5be652db 5db4f36a
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -71,14 +71,6 @@ public:
    /* this closes this heap -- use carefully */
    void dispose();

    /* this is only needed as a workaround, use only if you know
     * what you are doing */
    status_t setDevice(const char* device) {
        if (mDevice == nullptr)
            mDevice = device;
        return mDevice ? NO_ERROR : ALREADY_EXISTS;
    }

protected:
            MemoryHeapBase();
    // init() takes ownership of fd