diff options
| author | 2020-02-27 10:17:02 -0800 | |
|---|---|---|
| committer | 2020-02-27 18:19:06 +0000 | |
| commit | 90df585c8aa799c8b8079839bbe5088c0cdf9a05 (patch) | |
| tree | ccf4d97605f17ed86b5e59f8e45207a64e34264a | |
| parent | a61c7ac25b7f6997a78fe7dcb6149aa4a55ad077 (diff) | |
gralloc4: lockYCbCr shouldn't return UNSUPPORTED
Bug: 150384131
Test: GraphicBuffer_test
Change-Id: I87876cf82e8e6250ac755792c2302bf511699758
| -rw-r--r-- | libs/ui/Gralloc4.cpp | 2 |
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 { |