Explain how to add service_contexts for stable-c mapper
Stable-c mapper instance should be declared in two ways: - vintf manifest - service_contexts The latter part was missing. Bug: 336010345 Change-Id: I7bd776bf7d943049ef319c90739dae10071409ab Test: documentation
This commit is contained in:
parent
f9fc955231
commit
2dd88e6c8a
1 changed files with 6 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue