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

Commit 1a194359 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "libbinder: remove MemoryHeapBase::setDevice" am: 16794fd3 am:...

Merge "libbinder: remove MemoryHeapBase::setDevice" am: 16794fd3 am: 17800064 am: 9f4047c7 am: 9b3236fd am: 80245af0

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1402750

Change-Id: I0ea1126e83ea93514d17d2485b6cef2f69de7ed1
parents 4fddd65f 80245af0
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