summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Marissa Wall <marissaw@google.com> 2020-02-27 10:17:02 -0800
committer Marissa Ikonomidis <marissaw@google.com> 2020-02-27 18:19:06 +0000
commit90df585c8aa799c8b8079839bbe5088c0cdf9a05 (patch)
treeccf4d97605f17ed86b5e59f8e45207a64e34264a
parenta61c7ac25b7f6997a78fe7dcb6149aa4a55ad077 (diff)
gralloc4: lockYCbCr shouldn't return UNSUPPORTED
Bug: 150384131 Test: GraphicBuffer_test Change-Id: I87876cf82e8e6250ac755792c2302bf511699758
-rw-r--r--libs/ui/Gralloc4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/Gralloc4.cpp b/libs/ui/Gralloc4.cpp
index 30c48c8dc6..6fd4b80f17 100644
--- a/libs/ui/Gralloc4.cpp
+++ b/libs/ui/Gralloc4.cpp
@@ -364,7 +364,7 @@ status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, cons
}
*outYcbcr = ycbcr;
- return static_cast<status_t>(Error::UNSUPPORTED);
+ return static_cast<status_t>(Error::NONE);
}
int Gralloc4Mapper::unlock(buffer_handle_t bufferHandle) const {