commit | 934f7296573bc4d3a8b8a405359ca1522776ee8d | [log] [tgz] |
---|---|---|
author | Fang Hui <hui.fang@nxp.com> | Thu Apr 25 22:45:40 2024 +0800 |
committer | John Reck <jreck@google.com> | Fri May 17 19:07:17 2024 +0000 |
tree | 968c6ad189a081a9e14a9a6db164f8d4398620b2 | |
parent | 951e73500c545b4d3ca995440d05f00dd7d6df07 [diff] |
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: Fang Hui <hui.fang@nxp.com>