Android: IMapper4 / HIDL is being deprecated
This is more a question/discussion, rather than a bug report.
Android is slowly deprecating HIDL and replacing all HAL with AIDL, including gralloc and mapper. The mapper API is actually being replaced by a stable C interface instead. At the moment, it is still possible to include both AIDL (gralloc5) and HIDL (gralloc4) on the same Android firmware, because they're compatible (e.g. minigbm's AIDL implementation is built on top of its HIDL gralloc4). But this might not last forever.
So I'm wondering whether there are any plans to update the u_gralloc util library to support gralloc5 and above.
For the record, the README for the stable C library states that clients should not use it directly (:|). Clients should use GraphicBufferMapper (part of libui, which is not available to sphal namespace on a full-treble device) or AHardwareBuffer.