recovery/fastbootd: allow to talk to health HAL.
- Allow to use binder. - Allow to talk to health HAL. Test: manual in recovery Test: fastboot getvar battery-voltage Bug: 177269435 Change-Id: Ic3b1619ac34a10cb6007b8e011a01841343e9e8b
This commit is contained in:
parent
259491ba0b
commit
adc0f709b6
2 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,10 @@ recovery_only(`
|
|||
# fastbootd can only use HALs in passthrough mode
|
||||
passthrough_hal_client_domain(fastbootd, hal_bootctl)
|
||||
|
||||
# fastbootd can use AIDL HALs in binder mode
|
||||
binder_use(fastbootd)
|
||||
hal_client_domain(fastbootd, hal_health)
|
||||
|
||||
# Access /dev/usb-ffs/fastbootd/ep0
|
||||
allow fastbootd functionfs:dir search;
|
||||
allow fastbootd functionfs:file rw_file_perms;
|
||||
|
|
|
@ -13,6 +13,7 @@ recovery_only(`
|
|||
passthrough_hal_client_domain(recovery, hal_bootctl)
|
||||
|
||||
# Recovery can use AIDL HALs in binder mode
|
||||
binder_use(recovery)
|
||||
hal_client_domain(recovery, hal_health)
|
||||
|
||||
allow recovery self:global_capability_class_set {
|
||||
|
|
Loading…
Reference in a new issue