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

Commit aafba97a authored by Yifan Hong's avatar Yifan Hong
Browse files

Revert "Update health 2.1 readme for file_contexts"

This reverts commit ca44707a.

Reason for revert: charger uses hwbinder health HAL now

Bug: 142674987
Test: none

Change-Id: I2be2d393331ad3c377e0b144cfe0c92d3ab59689
parent ca44707a
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -99,11 +99,6 @@ and `update()`, with an additional `energyCounter()` function.


For example (replace `<device>` with the device name):
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
# device/<manufacturer>/<device>/sepolicy/vendor/hal_health_default.te
# Add device specific permissions to hal_health_default domain, especially
# Add device specific permissions to hal_health_default domain, especially
# if a device-specific libhealthd is used and/or device-specific storage related
# if a device-specific libhealthd is used and/or device-specific storage related