summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoremilchung <emilchung@google.com>2020-03-11 19:33:21 +0800
committerHsin-Lin Chung <emilchung@google.com>2020-04-29 09:58:33 +0000
commite815ecd6b2fbf3c9e68c717998992765fbb29ced (patch)
treeae9214a8c3414bd443034892854664f5328884c2 /audio
parentd35cbc105840d3efc5fefbe8f1084cc3b4bb4d60 (diff)
downloadplatform_hardware_interfaces-e815ecd6b2fbf3c9e68c717998992765fbb29ced.tar.gz
platform_hardware_interfaces-e815ecd6b2fbf3c9e68c717998992765fbb29ced.tar.bz2
platform_hardware_interfaces-e815ecd6b2fbf3c9e68c717998992765fbb29ced.zip
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
Diffstat (limited to 'audio')
-rw-r--r--audio/common/all-versions/default/service/android.hardware.audio.service.rc2
1 files changed, 1 insertions, 1 deletions
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