Move hal_light to attribute. am: 3319d5ee16
am: 7d25474624
am: fc7f000bdd
Change-Id: Ica759437f7887a74e1d99ee00ec390917555ef3c
This commit is contained in:
commit
b24b7e3bf9
5 changed files with 9 additions and 7 deletions
|
@ -227,7 +227,7 @@
|
|||
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
|
||||
/system/bin/hw/android\.hardware\.graphics\.allocator@2\.0-service u:object_r:hal_graphics_allocator_exec:s0
|
||||
/system/bin/hw/android\.hardware\.graphics\.composer@2\.1-service u:object_r:hal_graphics_composer_exec:s0
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service u:object_r:hal_light_exec:s0
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service u:object_r:hal_light_default_exec:s0
|
||||
/system/bin/hw/android\.hardware\.memtrack@1\.0-service u:object_r:hal_memtrack_exec:s0
|
||||
/system/bin/hw/android\.hardware\.nfc@1\.0-service u:object_r:hal_nfc_exec:s0
|
||||
/system/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_exec:s0
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# may be started by init
|
||||
init_daemon_domain(hal_light)
|
5
private/hal_light_default.te
Normal file
5
private/hal_light_default.te
Normal file
|
@ -0,0 +1,5 @@
|
|||
type hal_light_default, hal_light, domain;
|
||||
type hal_light_default_exec, exec_type, file_type;
|
||||
|
||||
# may be started by init
|
||||
init_daemon_domain(hal_light_default)
|
|
@ -113,3 +113,6 @@ attribute boot_control_hal;
|
|||
# postinstall. This includes the background daemon and the sideload tool from
|
||||
# recovery for A/B devices.
|
||||
attribute update_engine_common;
|
||||
|
||||
# HALs
|
||||
attribute hal_light;
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
# light subsystem
|
||||
type hal_light, domain;
|
||||
type hal_light_exec, exec_type, file_type;
|
||||
|
||||
# hwbinder access
|
||||
hwbinder_use(hal_light)
|
||||
|
||||
|
|
Loading…
Reference in a new issue