summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArian <arian.kulmer@web.de>2019-11-10 17:37:41 +0100
committerArian <arian.kulmer@web.de>2019-11-10 21:59:51 +0100
commitbf6c0cc1ca7a6e2ad81a8b0fd952d7c8019308ef (patch)
tree079d421f77773a515777d4ea6e73e6e318f1fc26
parent1c0a4ba63da8c68d6bf6df164bfaa9e7130a98aa (diff)
shinano-common: tfa9890: Move to vendor
Change-Id: Icdfdac046bc0bfc0ced4a2c1846579322f606153
-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)