# Allow binder communication | |
binder_use(location) | |
allow location { sensorservice_service permission_service }:service_manager find; | |
# Allow sh usage | |
allow location shell_exec:file rx_file_perms; | |
# Allow socket communication | |
allow location wifi_data_file:sock_file create_file_perms; | |
allow location system_server:unix_stream_socket { read write connectto }; |