summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-04-19 19:29:22 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-04-19 19:29:22 -0700
commit0ec1f2fc6e8776266c521ed17b3299aa8720b68e (patch)
treebcd78f27aa16f4eb3ac56654238d126a8b1fa06e /include
parent4ace33e2482c69766f1bb866dce84f6e0ccb27cd (diff)
parent65d884063727629ac9b859e3ff155e623e9d4ebd (diff)
downloadframeworks_native-0ec1f2fc6e8776266c521ed17b3299aa8720b68e.zip
frameworks_native-0ec1f2fc6e8776266c521ed17b3299aa8720b68e.tar.gz
frameworks_native-0ec1f2fc6e8776266c521ed17b3299aa8720b68e.tar.bz2
am 26f61635: am 0a4ab1b9: Merge "fix [2599939] "cannot play video" after open/close a video player a dozen of times" into froyo
Merge commit '26f6163557980062dbb203388b3d0794ee0d06f7' into kraken * commit '26f6163557980062dbb203388b3d0794ee0d06f7': fix [2599939] "cannot play video" after open/close a video player a dozen of times
Diffstat (limited to 'include')
-rw-r--r--include/binder/IMemory.h3
-rw-r--r--include/binder/MemoryHeapBase.h1
-rw-r--r--include/binder/MemoryHeapPmem.h3
3 files changed, 2 insertions, 5 deletions
diff --git a/include/binder/IMemory.h b/include/binder/IMemory.h
index ae042cb..74d2cc7 100644
--- a/include/binder/IMemory.h
+++ b/include/binder/IMemory.h
@@ -36,8 +36,7 @@ public:
// flags returned by getFlags()
enum {
- READ_ONLY = 0x00000001,
- MAP_ONCE = 0x00000002
+ READ_ONLY = 0x00000001
};
virtual int getHeapID() const = 0;
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,
diff --git a/include/binder/MemoryHeapPmem.h b/include/binder/MemoryHeapPmem.h
index aac164f..e1660c4 100644
--- a/include/binder/MemoryHeapPmem.h
+++ b/include/binder/MemoryHeapPmem.h
@@ -46,8 +46,7 @@ public:
sp<MemoryHeapPmem> mClientHeap;
};
- MemoryHeapPmem(const sp<MemoryHeapBase>& pmemHeap,
- uint32_t flags = IMemoryHeap::MAP_ONCE);
+ MemoryHeapPmem(const sp<MemoryHeapBase>& pmemHeap, uint32_t flags = 0);
~MemoryHeapPmem();
/* HeapInterface additions */