hikey: Move uim (Bluetooth daemon) to /vendor am: 34e8b23025
am: 794593f56b
Change-Id: Idbe0a438ed31c0a137571a40988b5af0980ea082
diff --git a/init.common.rc b/init.common.rc
index a13fa3c..318ffc9 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -88,7 +88,7 @@
write /sys/kernel/debug/f72c0000.usb/config "1"
#userspace daemon needed for bluetooth
-service uim /system/bin/uim
+service uim /vendor/bin/uim
class main
user bluetooth
group bluetooth net_bt_admin system
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 5379f90..7b692d1 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -5,5 +5,5 @@
/dev/dri/card0 u:object_r:gpu_device:s0
/dev/hci_tty u:object_r:hci_attach_dev:s0
/dev/ttyAMA1 u:object_r:hci_attach_dev:s0
-/system/bin/uim u:object_r:hci_attach_exec:s0
+/system/vendor/bin/uim u:object_r:hci_attach_exec:s0
/system/vendor/bin/hw/android\.hardware\.bluetooth@1\.0-service\.hikey u:object_r:hal_bluetooth_hikey_exec:s0
diff --git a/wpan/uim/Android.mk b/wpan/uim/Android.mk
index 2beec72..8150174 100644
--- a/wpan/uim/Android.mk
+++ b/wpan/uim/Android.mk
@@ -10,6 +10,7 @@
LOCAL_MODULE_TAGS := eng
LOCAL_MODULE := uim
+LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_EXECUTABLE)