OSDN Git Service

fix [2599939] "cannot play video" after open/close a video player a dozen of times
authorMathias Agopian <mathias@google.com>
Tue, 20 Apr 2010 02:09:03 +0000 (19:09 -0700)
committerMathias Agopian <mathias@google.com>
Tue, 20 Apr 2010 02:09:03 +0000 (19:09 -0700)
commit3c772b706dd8e53fe17b284bb2e60c146867f787
tree8009c8e46351dafac6774d3b9ce0483550333f92
parentc3a26bfeb0f995abcf2e1b47356003fcecde7855
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
include/binder/IMemory.h
include/binder/MemoryHeapBase.h
include/binder/MemoryHeapPmem.h
libs/binder/IMemory.cpp