diff options
author | Glenn Kasten <gkasten@google.com> | 2014-03-14 16:49:51 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-03-18 15:07:43 -0700 |
commit | 6546f2e45861172af83b0c1e6432cae24e97d4cc (patch) | |
tree | 9adb62515f95c0520d87dcbc3375ee55da769669 /libs/binder | |
parent | 75555b2eaf0a2b8eff30df422e041cbe80ec74ef (diff) | |
download | frameworks_native-6546f2e45861172af83b0c1e6432cae24e97d4cc.zip frameworks_native-6546f2e45861172af83b0c1e6432cae24e97d4cc.tar.gz frameworks_native-6546f2e45861172af83b0c1e6432cae24e97d4cc.tar.bz2 |
Allow creation of heaps that are read-only to partner
Change-Id: I3c2b3d9b1671da4b9d9c58dce27e291d30703b03
Diffstat (limited to 'libs/binder')
-rw-r--r-- | libs/binder/MemoryDealer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/MemoryDealer.cpp b/libs/binder/MemoryDealer.cpp index a14c100..8739625 100644 --- a/libs/binder/MemoryDealer.cpp +++ b/libs/binder/MemoryDealer.cpp @@ -225,8 +225,8 @@ Allocation::~Allocation() // ---------------------------------------------------------------------------- -MemoryDealer::MemoryDealer(size_t size, const char* name) - : mHeap(new MemoryHeapBase(size, 0, name)), +MemoryDealer::MemoryDealer(size_t size, const char* name, uint32_t flags) + : mHeap(new MemoryHeapBase(size, flags, name)), mAllocator(new SimpleBestFitAllocator(size)) { } |