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

Commit 00eddb28 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Update health 2.1 readme for file_contexts" am: a6765359 am: 29812d24 am: 6ebbd1fc

Change-Id: I5953a8624512105cf7755c0b8549c4c0c9369755
parents 4a0e58e7 6ebbd1fc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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