From e5d0f0c0bd4b5520b6d336236de2c7c0a167f1c7 Mon Sep 17 00:00:00 2001 From: emilchung Date: Wed, 11 Mar 2020 19:33:21 +0800 Subject: [PATCH] sdm660-common: rootdir: add context_hub into audio hal group While implementing the capo nanoapp for audio configuration, we met some chre socket connected error due to the access group denied. Add context_hub group for audio hal to connect chre socket. go/capo-algo Bug: 141128522 Bug: 149069556 Test: FULL build with audio hal part and local prebuilts nanoapp. Test: Audio HAL communicates normally with CHRE socket. Change-Id: Iea84411682f4c3e08f8b37a5b21818b0e9b04983 Signed-off-by: pix106 --- rootdir/etc/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index d51e2646..354e00a0 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -766,7 +766,7 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service class hal user audioserver # media gid needed for /dev/fm (radio) and for /data/misc/media (tee) - group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock + group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock context_hub capabilities BLOCK_SUSPEND SYS_NICE ioprio rt 4 task_profiles ProcessCapacityHigh HighPerformance