2017-03-23 22:27:32 +01:00
|
|
|
typeattribute virtual_touchpad coredomain;
|
|
|
|
|
2017-02-10 00:15:11 +01:00
|
|
|
init_daemon_domain(virtual_touchpad)
|
2024-03-27 09:18:41 +01:00
|
|
|
|
|
|
|
binder_use(virtual_touchpad)
|
|
|
|
binder_service(virtual_touchpad)
|
|
|
|
add_service(virtual_touchpad, virtual_touchpad_service)
|
|
|
|
|
|
|
|
# Needed to check app permissions.
|
|
|
|
binder_call(virtual_touchpad, system_server)
|
|
|
|
|
|
|
|
# Requires access to /dev/uinput to create and feed the virtual device.
|
|
|
|
allow virtual_touchpad uhid_device:chr_file { w_file_perms ioctl };
|
|
|
|
|
|
|
|
# Requires access to the permission service to validate that clients have the
|
|
|
|
# appropriate VR permissions.
|
|
|
|
allow virtual_touchpad permission_service:service_manager find;
|