commit | 90df585c8aa799c8b8079839bbe5088c0cdf9a05 | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Thu Feb 27 10:17:02 2020 -0800 |
committer | Marissa Ikonomidis <marissaw@google.com> | Thu Feb 27 18:19:06 2020 +0000 |
tree | ccf4d97605f17ed86b5e59f8e45207a64e34264a | |
parent | a61c7ac25b7f6997a78fe7dcb6149aa4a55ad077 [diff] |
gralloc4: lockYCbCr shouldn't return UNSUPPORTED Bug: 150384131 Test: GraphicBuffer_test Change-Id: I87876cf82e8e6250ac755792c2302bf511699758
diff --git a/libs/ui/Gralloc4.cpp b/libs/ui/Gralloc4.cpp index 30c48c8..6fd4b80 100644 --- a/libs/ui/Gralloc4.cpp +++ b/libs/ui/Gralloc4.cpp
@@ -364,7 +364,7 @@ } *outYcbcr = ycbcr; - return static_cast<status_t>(Error::UNSUPPORTED); + return static_cast<status_t>(Error::NONE); } int Gralloc4Mapper::unlock(buffer_handle_t bufferHandle) const {