summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/etc/init.qcom.rc2
-rw-r--r--sepolicy/file_contexts2
-rw-r--r--tfa9890/Android.mk1
3 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index df7039d..00325ca 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -525,7 +525,7 @@ service hvdcp /vendor/bin/hvdcp
disabled
# TFA9890 AMP
-service tfa9890_amp /system/bin/tfa9890_amp
+service tfa9890_amp /vendor/bin/tfa9890_amp
class late_start
user root
group root
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index ef70a22..1f0de5f 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,6 +1,6 @@
# Audio
/dev/tfa98xx u:object_r:audio_device:s0
-/system/bin/tfa9890_amp u:object_r:tfa_amp_exec:s0
+/system/vendor/bin/tfa9890_amp u:object_r:tfa_amp_exec:s0
# Bluetooth
/system/vendor/bin/brcm-uim-sysfs u:object_r:brcm_uim_exec:s0
diff --git a/tfa9890/Android.mk b/tfa9890/Android.mk
index a4523e8..8808fac 100644
--- a/tfa9890/Android.mk
+++ b/tfa9890/Android.mk
@@ -15,5 +15,6 @@ LOCAL_SRC_FILES := \
LOCAL_MODULE := tfa9890_amp
LOCAL_MODULE_TAGS := optional
+LOCAL_VENDOR_MODULE := true
include $(BUILD_EXECUTABLE)