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

Skip to content
Commit 7dc54f92 authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

C2AllocatorGralloc: Limit Gralloc4Mapper_lock to T and above

Gralloc4Mapper_lock() returns few wrong parameters when called
on few devices running older Android versions as part of mainline
module.

Since this function was added in Android T to support vendor P010
format and P010 support is Android T and above, this function is
now limited to devices running Android T and above.

Bug: 237366327
Test: atest CtsMediaCodecTestCases:EncodeVirtualDisplayTest \
 CtsMediaV2TestCases:android.mediav2.cts.CodecEncoderSurfaceTest

Change-Id: I58590098d47bb3eb6d871235c200a5bb82faed25
parent fdcf4bda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment