diff options
author | Steven Moreland <smoreland@google.com> | 2020-08-17 23:10:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-08-17 23:10:21 +0000 |
commit | 16794fd3fcee018439e3e6327b49cee075fb1edf (patch) | |
tree | 14ceea7edb6dae4e0e671dd5826f8b9486de8cee | |
parent | 5be652dbf2ad18de4e2fb547b4d72faad584b726 (diff) | |
parent | 5db4f36aec1c9158f964fec70f3f381774ca8638 (diff) | |
download | native-16794fd3fcee018439e3e6327b49cee075fb1edf.tar.gz |
Merge "libbinder: remove MemoryHeapBase::setDevice"
-rw-r--r-- | libs/binder/include/binder/MemoryHeapBase.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/binder/include/binder/MemoryHeapBase.h b/libs/binder/include/binder/MemoryHeapBase.h index edada3d1b5..52bd5decd4 100644 --- a/libs/binder/include/binder/MemoryHeapBase.h +++ b/libs/binder/include/binder/MemoryHeapBase.h @@ -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 |