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 <sbordenave@gmail.com>
This commit is contained in:
emilchung 2020-03-11 19:33:21 +08:00 committed by pix106
parent dc669fe301
commit e5d0f0c0bd

View file

@ -766,7 +766,7 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
class hal class hal
user audioserver user audioserver
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee) # 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 capabilities BLOCK_SUSPEND SYS_NICE
ioprio rt 4 ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance task_profiles ProcessCapacityHigh HighPerformance