Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2dd88e6c authored by Jooyung Han's avatar Jooyung Han
Browse files

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
parent f9fc9552
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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`