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

Skip to content
Commit 934f7296 authored by Fang Hui's avatar Fang Hui Committed by John Reck
Browse files

Use ANDROID_NATIVE_UNSIGNED_CAST() in GraphicBufferMapper::lockAsync()



If bit 31 of the return value of android_convertGralloc1To0Usage() is 1,
the high 32 bits of "usage" is all 1.
To fix, add ANDROID_NATIVE_UNSIGNED_CAST().

Change-Id: I501c5dd66ee3f3a25269b5eb6e5d74c05cf44c79
Merged-In: Ib4590b7a3b839a993f6c747c5f09a6312f7ab329
Signed-off-by: default avatarFang Hui <hui.fang@nxp.com>
parent 951e7350
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment