Integrate V4A by completing these three steps:
-
Build System: Add the config to
device.mk:$(call inherit-product, packages/apps/ViPER4AndroidFX/config.mk)
-
SELinux Policy: Add these rules to your
audioserver.tefile:get_prop(audioserver, vendor_audio_prop) # If Google or MTK device skip line allow audioserver unlabeled:file { read write open getattr }; allow hal_audio_default hal_audio_default:process { execmem };