diff --git a/audio/audio_effects.xml b/audio/audio_effects.xml index e8efa99..6c66329 100644 --- a/audio/audio_effects.xml +++ b/audio/audio_effects.xml @@ -41,6 +41,7 @@ + @@ -91,6 +92,7 @@ + diff --git a/device.mk b/device.mk index 75c7703..ffd48df 100644 --- a/device.mk +++ b/device.mk @@ -12,6 +12,9 @@ ifeq ($(Vendor_Dolby),true) $(call inherit-product, vendor/dolby/dolby.mk) endif +# JamesDSP +$(call inherit-product, packages/apps/JamesDSPManager/config.mk) + # Enable project quotas and casefolding for emulated storage without sdcardfs $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) diff --git a/sepolicy/vendor/audioserver.te b/sepolicy/vendor/audioserver.te index 8b13789..4d98ed6 100644 --- a/sepolicy/vendor/audioserver.te +++ b/sepolicy/vendor/audioserver.te @@ -1 +1,4 @@ +get_prop(audioserver, vendor_audio_prop) +allow audioserver unlabeled:file { read write open getattr }; +allow hal_audio_default hal_audio_default:process { execmem }; diff --git a/vendorsetup.sh b/vendorsetup.sh index 2df8bdf..fe0b8db 100644 --- a/vendorsetup.sh +++ b/vendorsetup.sh @@ -9,3 +9,6 @@ git clone https://github.com/crdroidandroid/android_kernel_qcom_sm8350.git -b 14 # Clone prebuilt kernel git clone https://github.com/Arijit78/device_xiaomi_stone-kernel.git -b 14 device/xiaomi/stone-kernel + +# Clone JamesDSP +git clone https://github.com/Arijit78/packages_apps_JamesDSPManager.git -b udc packages/apps/JamesDSPManager