summaryrefslogtreecommitdiffstats
path: root/include/binder/IMemory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/binder/IMemory.h')
-rw-r--r--include/binder/IMemory.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/binder/IMemory.h b/include/binder/IMemory.h
index 2d0db00..178ef85 100644
--- a/include/binder/IMemory.h
+++ b/include/binder/IMemory.h
@@ -36,7 +36,12 @@ public:
// flags returned by getFlags()
enum {
- READ_ONLY = 0x00000001
+ READ_ONLY = 0x00000001,
+#ifdef USE_MEMORY_HEAP_ION
+ USE_ION_FD = 0x00008000
+#else
+ USE_ION_FD = 0x00000008
+#endif
};
virtual int getHeapID() const = 0;