diff options
| author | 2024-07-22 22:11:40 +0800 | |
|---|---|---|
| committer | 2024-07-25 21:31:56 +0800 | |
| commit | a3d7333eb90fe3a2fdfebe7bf694ee78900052c6 (patch) | |
| tree | 2b2a4cd4be42caebe2e22546a8e818d175366c0e /libs/gui/ConsumerBase.cpp | |
| parent | 454e2fef1f5756553128a2c573d34eac9a1815e7 (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