sm8550-common: init: Override QTI audio rpc daemon service definition
The rpc daemon doesn't support loading ADSP libs from odm partition, therefore locally set environment variable ADSP_LIBRARY_PATH to allow that to happen, just like stock does. Just as a sidenote, during early bringup phase the quick workaround was to move the relevant blobs from odm to vendor, but then ditched in favor of copying the stock script. Now, instead of copying it, simply override the service definition and avoid one duplicate copy rule. Change-Id: Ic78536afda4f86ea589e57adf496b4db8256aea1
This commit is contained in:
committed by
Mezaque Silver
parent
9305a597e2
commit
04419dcc81
@@ -199,3 +199,10 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
|
|||||||
ioprio rt 4
|
ioprio rt 4
|
||||||
task_profiles ProcessCapacityHigh HighPerformance
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
onrestart restart audioserver
|
onrestart restart audioserver
|
||||||
|
|
||||||
|
service vendor.audioadsprpcd_audiopd /vendor/bin/audioadsprpcd audiopd
|
||||||
|
override
|
||||||
|
class main
|
||||||
|
user media
|
||||||
|
group media
|
||||||
|
setenv ADSP_LIBRARY_PATH ";/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp;/vendor/dsp;/odm/lib/rfsa/adsp;/vendor/lib/rfsa/adsp"
|
||||||
|
Reference in New Issue
Block a user