mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Update health 2.1 readme for file_contexts"
am: a676535934
Change-Id: Ife24c7407631472a283f1ca3844a27c803637fb8
This commit is contained in:
@@ -99,6 +99,11 @@ and `update()`, with an additional `energyCounter()` function.
|
||||
|
||||
For example (replace `<device>` with the device name):
|
||||
```
|
||||
# device/<manufacturer>/<device>/sepolicy/vendor/file_contexts
|
||||
# Required for charger to open passthrough implementation. Replace <device> with the proper device
|
||||
# name. File name must be consistent with `stem` of the implementation module.
|
||||
/vendor/lib(64)?/hw/android\.hardware\.health@2\.0-impl-2\.1-<device>\.so u:object_r:same_process_hal_file:s0
|
||||
|
||||
# device/<manufacturer>/<device>/sepolicy/vendor/hal_health_default.te
|
||||
# Add device specific permissions to hal_health_default domain, especially
|
||||
# if a device-specific libhealthd is used and/or device-specific storage related
|
||||
|
||||
Reference in New Issue
Block a user