1e27cc1157
Android 8.1 added the support for new type of USB Audio devices (USB_HEADSET, instead of old USB_DEVICE) Some older USB devices got converted to this USB_HEADSET while still using the old protocol. There is no driver change needed, but the audio policy needs to be changed. Since vendors are simply using AOSP usb_audio_policy_configuration Override it by ourself.
5 lines
231 B
Plaintext
5 lines
231 B
Plaintext
on post-fs
|
|
exec - root -- /system/bin/vndk-detect
|
|
mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind
|
|
export LD_CONFIG_FILE /system/etc/ld.config.${persist.sys.vndk}.txt
|