Fix A2DP on some Qualcomm Q vendors by disable A2DP offload harder
Also there is a mismatch between framework which expects property to be false/true and treble app setting it to 0/1
This commit is contained in:
parent
51f9d61755
commit
768afc3cbe
8
vndk.rc
8
vndk.rc
@ -44,3 +44,11 @@ on property:persist.sys.phh.caf.audio_policy=*
|
|||||||
on property:persist.sys.phh.vsmart.dt2w=*
|
on property:persist.sys.phh.vsmart.dt2w=*
|
||||||
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.vsmart.dt2w"
|
exec u:r:phhsu_daemon:s0 root -- /system/bin/phh-prop-handler.sh "persist.sys.phh.vsmart.dt2w"
|
||||||
|
|
||||||
|
on property:persist.sys.phh.disable_a2dp_offload=0
|
||||||
|
setprop persist.sys.phh.disable_a2dp_offload false
|
||||||
|
|
||||||
|
on property:persist.sys.phh.disable_a2dp_offload=1
|
||||||
|
setprop persist.sys.phh.disable_a2dp_offload true
|
||||||
|
|
||||||
|
on property:persist.sys.phh.disable_a2dp_offload=*
|
||||||
|
setprop persist.bluetooth.bluetooth_audio_hal.disabled ${persist.sys.phh.disable_a2dp_offload}
|
||||||
|
Loading…
Reference in New Issue
Block a user