commit | a3d7333eb90fe3a2fdfebe7bf694ee78900052c6 | [log] [tgz] |
---|---|---|
author | Fang Hui <hui.fang@nxp.com> | Mon Jul 22 22:11:40 2024 +0800 |
committer | Fang Hui <hui.fang@nxp.com> | Thu Jul 25 21:31:56 2024 +0800 |
tree | 2b2a4cd4be42caebe2e22546a8e818d175366c0e | |
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>