Merge "Bluetooth: Allow system apps to access Bluetooth sockets"
diff --git a/common/bluetooth.te b/common/bluetooth.te
index 7604528..4f1d579 100644
--- a/common/bluetooth.te
+++ b/common/bluetooth.te
@@ -15,7 +15,6 @@
allow bluetooth persist_file:dir search;
allow bluetooth persist_file:file rw_file_perms;
-allow bluetooth wpa:unix_stream_socket connectto;
#For ANT tty communication and to set wc_transport prop
allow system_server bluetooth_prop:property_service set;
diff --git a/common/system_app.te b/common/system_app.te
index 4e2c5f0..7844edf 100644
--- a/common/system_app.te
+++ b/common/system_app.te
@@ -21,3 +21,4 @@
')
allow system_app cnd_data_file:dir w_dir_perms;
allow system_app cnd_data_file:file create_file_perms;
+allow system_app bluetooth:unix_stream_socket ioctl;