From e815ecd6b2fbf3c9e68c717998992765fbb29ced Mon Sep 17 00:00:00 2001 From: emilchung Date: Wed, 11 Mar 2020 19:33:21 +0800 Subject: [PATCH] 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 --- .../default/service/android.hardware.audio.service.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/common/all-versions/default/service/android.hardware.audio.service.rc b/audio/common/all-versions/default/service/android.hardware.audio.service.rc index 63d2542498..e7956b2048 100644 --- a/audio/common/all-versions/default/service/android.hardware.audio.service.rc +++ b/audio/common/all-versions/default/service/android.hardware.audio.service.rc @@ -2,7 +2,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 wakelock + group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct wakelock context_hub capabilities BLOCK_SUSPEND ioprio rt 4 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks