summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-06-02 19:00:11 -0700
committerChong Zhang <chz@google.com>2015-06-02 19:00:11 -0700
commit2e3ed7e2e7fcdcf8c82b95b5156859ecc4d5b5d8 (patch)
treedb4d650b4ceb316b860d2eecf9fd70e94f41fb8e
parentf19ee6b70df52d535a3ef3321d0e9e2eca560ede (diff)
downloadhardware_libhardware-2e3ed7e2e7fcdcf8c82b95b5156859ecc4d5b5d8.zip
hardware_libhardware-2e3ed7e2e7fcdcf8c82b95b5156859ecc4d5b5d8.tar.gz
hardware_libhardware-2e3ed7e2e7fcdcf8c82b95b5156859ecc4d5b5d8.tar.bz2
libhardware: fix gralloc usage bit redefine
bug: 21584171 Change-Id: I66c287681d3e53a263f85fbddfccbb199eaa4b33
-rw-r--r--include/hardware/gralloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h
index 7aeb84e..93172cd 100644
--- a/include/hardware/gralloc.h
+++ b/include/hardware/gralloc.h
@@ -131,7 +131,7 @@ enum {
* buffer that they did not detach from the BufferQueue. Will be filtered
* out by GRALLOC_USAGE_ALLOC_MASK, so gralloc modules will not need to
* handle this flag. */
- GRALLOC_USAGE_FOREIGN_BUFFERS = 0x00010000,
+ GRALLOC_USAGE_FOREIGN_BUFFERS = 0x00200000,
/* Mask of all flags which could be passed to a gralloc module for buffer
* allocation. Any flags not in this mask do not need to be handled by