mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: SamsungParts: Add new HIDL
* Related to flashlight * Also, build it
This commit is contained in:
parent
703c0edf61
commit
1bcf57f719
15 changed files with 316 additions and 4 deletions
|
|
@ -215,3 +215,4 @@
|
|||
|
||||
# SamsungParts
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.eureka\.hardware\.battery@1\.0-service u:object_r:hal_battery_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.eureka\.hardware\.flashlight@1\.0-service u:object_r:hal_flashlight_default_exec:s0
|
||||
|
|
|
|||
4
universal7885-common/sepolicy/vendor/hal_flashlight_default.te
vendored
Normal file
4
universal7885-common/sepolicy/vendor/hal_flashlight_default.te
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
type hal_flashlight_default, domain;
|
||||
type hal_flashlight_default_exec, exec_type, file_type, vendor_file_type;
|
||||
add_hwservice(hal_flashlight_default, hal_flashlight_hwservice);
|
||||
init_daemon_domain(hal_flashlight_default);
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
type rild_hwservice, hwservice_manager_type;
|
||||
type hal_battery_hwservice, hwservice_manager_type;
|
||||
type hal_flashlight_hwservice, hwservice_manager_type;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ vendor.lineage.power::ILineagePower u:object_r:hal_power_hwservice:s0
|
|||
|
||||
# SamsungParts
|
||||
vendor.eureka.hardware.battery::IBattery u:object_r:hal_battery_hwservice:s0
|
||||
vendor.eureka.hardware.flashlight::IFlashlight u:object_r:hal_flashlight_hwservice:s0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue