Move bluetooth_loader sepolicy to common

* This can be also used by 8916 devices and possibly others,
  move it out of the msm8974 folder

Change-Id: Id36e890de99499dc964d88bbec9a7b6fbf758bca
diff --git a/msm8974/bluetooth_loader.te b/common/bluetooth_loader.te
similarity index 100%
rename from msm8974/bluetooth_loader.te
rename to common/bluetooth_loader.te
diff --git a/common/file_contexts b/common/file_contexts
index 498ca0d..861729f 100644
--- a/common/file_contexts
+++ b/common/file_contexts
@@ -29,6 +29,7 @@
 /dev/sdsprpc-smd                                u:object_r:dsp_device:s0
 /dev/sensors                                    u:object_r:sensors_device:s0
 /dev/smd.*                                      u:object_r:smd_device:s0
+/dev/smd3                                       u:object_r:hci_attach_dev:s0
 /dev/smem_log                                   u:object_r:smem_log_device:s0
 /dev/ttyHSL0                                    u:object_r:console_device:s0
 /dev/ttyMSM0                                    u:object_r:console_device:s0
@@ -250,6 +251,7 @@
 /system/bin/fstman                              u:object_r:fstman_exec:s0
 /system/vendor/bin/mdtpd                        u:object_r:mdtpdaemon_exec:s0
 /system/bin/wifi_ftmd                           u:object_r:wifi_ftmd_exec:s0
+/system/etc/init\.qcom\.bt\.sh                  u:object_r:bluetooth_loader_exec:s0
 
 ###################################
 # sysfs files
@@ -349,6 +351,7 @@
 # persist files
 #
 /persist(/.*)?                                                      u:object_r:persist_file:s0
+/persist/\.bt_nv\.bin                                               u:object_r:bluetooth_data_file:s0
 /persist/bluetooth(/.*)?                                            u:object_r:persist_bluetooth_file:s0
 /persist/drm(/.*)?                                                  u:object_r:persist_drm_file:s0
 /persist/sensors(/.*)?                                              u:object_r:sensors_persist_file:s0
diff --git a/msm8974/file_contexts b/msm8974/file_contexts
index 5f66125..4383656 100644
--- a/msm8974/file_contexts
+++ b/msm8974/file_contexts
@@ -41,10 +41,5 @@
 /dev/block/mmcblk0                                            u:object_r:root_block_device:s0
 /dev/block/mmcblk0rpmb                                        u:object_r:rpmb_device:s0
 
-# Bluetooth
-/dev/smd3                                                     u:object_r:hci_attach_dev:s0
-/persist/.bt_nv.bin                                           u:object_r:bluetooth_data_file:s0
-/system/etc/init.qcom.bt.sh                                   u:object_r:bluetooth_loader_exec:s0
-
 # mpdecision
 /data/misc/perfd(/.*)?                                        u:object_r:mpctl_socket:s0