caimito: config serial no for vendor audio

note:
    - To workaround microphone compensation issue, serial
      number is necessary information.
      Config the value for vendor audio service.

Test: end-to-end test
Bug: 349276230
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d7efc013d3c40cd95f4b1082c78c547e64c47d65)
Merged-In: Ia989fe39cf89055bb056e07875cc868edb808bdc
Change-Id: Ia989fe39cf89055bb056e07875cc868edb808bdc
This commit is contained in:
Rios Kao 2024-06-25 03:59:31 +00:00 committed by Android Build Coastguard Worker
parent ec3b8bd84e
commit 466bc97898
3 changed files with 12 additions and 0 deletions

View file

@ -79,3 +79,7 @@ on property:sys.boot_completed=1
# it should be written by the system init. # it should be written by the system init.
on property:ro.boot.hardware.sku=GWVK6 on property:ro.boot.hardware.sku=GWVK6
setprop audio.camerasound.force true setprop audio.camerasound.force true
# Check serial no. from specific CM4 devices for audio.
on property:ro.boot.serialno=*
setprop vendor.audio_hal.device.serialno ${ro.boot.serialno}

View file

@ -83,3 +83,7 @@ on property:sys.boot_completed=1
# it should be written by the system init. # it should be written by the system init.
on property:ro.boot.hardware.sku=GQ57S on property:ro.boot.hardware.sku=GQ57S
setprop audio.camerasound.force true setprop audio.camerasound.force true
# Check serial no. from specific KM4 devices for audio.
on property:ro.boot.serialno=*
setprop vendor.audio_hal.device.serialno ${ro.boot.serialno}

View file

@ -81,3 +81,7 @@ on fs
# it should be written by the system init. # it should be written by the system init.
on property:ro.boot.hardware.sku=G1B60 on property:ro.boot.hardware.sku=G1B60
setprop audio.camerasound.force true setprop audio.camerasound.force true
# Check serial no. from specific TK4 devices for audio.
on property:ro.boot.serialno=*
setprop vendor.audio_hal.device.serialno ${ro.boot.serialno}