From bf6c0cc1ca7a6e2ad81a8b0fd952d7c8019308ef Mon Sep 17 00:00:00 2001 From: Arian Date: Sun, 10 Nov 2019 17:37:41 +0100 Subject: shinano-common: tfa9890: Move to vendor Change-Id: Icdfdac046bc0bfc0ced4a2c1846579322f606153 --- rootdir/etc/init.qcom.rc | 2 +- sepolicy/file_contexts | 2 +- tfa9890/Android.mk | 1 + 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) -- cgit v1.2.3