Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90df585c authored by Marissa Wall's avatar Marissa Wall Committed by Marissa Ikonomidis
Browse files

gralloc4: lockYCbCr shouldn't return UNSUPPORTED

Bug: 150384131
Test: GraphicBuffer_test

Change-Id: I87876cf82e8e6250ac755792c2302bf511699758
parent a61c7ac2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -364,7 +364,7 @@ status_t Gralloc4Mapper::lock(buffer_handle_t bufferHandle, uint64_t usage, cons
    }
    }


    *outYcbcr = ycbcr;
    *outYcbcr = ycbcr;
    return static_cast<status_t>(Error::UNSUPPORTED);
    return static_cast<status_t>(Error::NONE);
}
}


int Gralloc4Mapper::unlock(buffer_handle_t bufferHandle) const {
int Gralloc4Mapper::unlock(buffer_handle_t bufferHandle) const {