You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
395 B
10 lines
395 B
init_daemon_domain(system_suspend)
|
|
|
|
# To serve ISuspendControlService.aidl.
|
|
binder_use(system_suspend)
|
|
add_service(system_suspend, system_suspend_control_service)
|
|
|
|
allow system_suspend sysfs_wakeup:dir { open read };
|
|
allow system_suspend sysfs_wakeup:file { getattr open read };
|
|
allow system_suspend sysfs_battery:dir { open read };
|
|
allow system_suspend sysfs_battery:file { getattr open read }; |