From 07cc0325704957c64f7df47b381216273fda4d65 Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Tue, 2 Jun 2015 19:00:11 -0700 Subject: [PATCH] libhardware: fix gralloc usage bit redefine bug: 21584171 Change-Id: I66c287681d3e53a263f85fbddfccbb199eaa4b33 (cherry picked from commit 2e3ed7e2e7fcdcf8c82b95b5156859ecc4d5b5d8) --- include/hardware/gralloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h index 7aeb84e5..93172cd0 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