diff options
| author | Mathias Agopian <mathias@google.com> | 2010-04-19 19:09:03 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2010-04-19 19:09:03 -0700 |
| commit | 92c3b393275e967f37162b40b3438c5616328372 (patch) | |
| tree | 14f077c0233038875cc90dd8eb107decb117b667 /include/binder/MemoryHeapBase.h | |
| parent | e80c6f49d5055e299b7ada91b5967feab66e467b (diff) | |
| download | frameworks_base-92c3b393275e967f37162b40b3438c5616328372.zip frameworks_base-92c3b393275e967f37162b40b3438c5616328372.tar.gz frameworks_base-92c3b393275e967f37162b40b3438c5616328372.tar.bz2 | |
fix [2599939] "cannot play video" after open/close a video player a dozen of times
get rid off the MAP_ONCE flag is MemoryHeapBase (as well as it's functionality),
this feature should not be used anymore.
the software renderer was incorrectly using the default ctor which set MAP_ONCE,
causing the leak. the software renderer itself is incorrectly used while coming
back from sleep.
Change-Id: I123621f8d140550b864f352bbcd8a5729db12b57
Diffstat (limited to 'include/binder/MemoryHeapBase.h')
| -rw-r--r-- | include/binder/MemoryHeapBase.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/binder/MemoryHeapBase.h b/include/binder/MemoryHeapBase.h index d793c24..2f2e31b 100644 --- a/include/binder/MemoryHeapBase.h +++ b/include/binder/MemoryHeapBase.h @@ -32,7 +32,6 @@ class MemoryHeapBase : public virtual BnMemoryHeap public: enum { READ_ONLY = IMemoryHeap::READ_ONLY, - MAP_ONCE = IMemoryHeap::MAP_ONCE, // memory won't be mapped locally, but will be mapped in the remote // process. DONT_MAP_LOCALLY = 0x00000100, |
