Merge "Explain how to add service_contexts for stable-c mapper" into main am: 1b20111074

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3062802

Change-Id: Ica665bdb09e20c763078e17a6675e69ece9f830b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-04-30 06:59:36 +00:00
committed by Automerger Merge Worker

View File

@@ -22,6 +22,12 @@ as the `<instance>` in the VINTF manifest `<interface>` section. For example:
```
defines that the IMapper 5.0 library is provided by `/vendor/lib[64]/hw/mapper.minigbm.so`.
ServiceManager should be able to `find` the instance. The instance should be labelled in
`service_contexts` as follows:
```
mapper/minigbm u:object_r:hal_graphics_mapper_service:s0
```
This library must export the following `extern "C"` symbols:
### `ANDROID_HAL_STABLEC_VERSION`