summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Fang Hui <hui.fang@nxp.com> 2024-07-22 22:11:40 +0800
committer Fang Hui <hui.fang@nxp.com> 2024-07-25 21:31:56 +0800
commita3d7333eb90fe3a2fdfebe7bf694ee78900052c6 (patch)
tree2b2a4cd4be42caebe2e22546a8e818d175366c0e /libs/gui/ConsumerBase.cpp
parent454e2fef1f5756553128a2c573d34eac9a1815e7 (diff)
Use ANDROID_NATIVE_UNSIGNED_CAST() in GraphicBufferMapper::lockAsync() and GraphicBuffer::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: Ie8fe138e4626a179284f079d728e1fd14d83b130 Signed-off-by: Fang Hui <hui.fang@nxp.com>
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions