From d7efc013d3c40cd95f4b1082c78c547e64c47d65 Mon Sep 17 00:00:00 2001 From: Rios Kao Date: Tue, 25 Jun 2024 03:59:31 +0000 Subject: [PATCH] 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 Change-Id: Ia989fe39cf89055bb056e07875cc868edb808bdc --- conf/init.caiman.rc | 4 ++++ conf/init.komodo.rc | 4 ++++ conf/init.tokay.rc | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/conf/init.caiman.rc b/conf/init.caiman.rc index c63cfa7d..215e60d2 100644 --- a/conf/init.caiman.rc +++ b/conf/init.caiman.rc @@ -79,3 +79,7 @@ on property:sys.boot_completed=1 # it should be written by the system init. on property:ro.boot.hardware.sku=GWVK6 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} diff --git a/conf/init.komodo.rc b/conf/init.komodo.rc index 51d7027f..97a6e229 100644 --- a/conf/init.komodo.rc +++ b/conf/init.komodo.rc @@ -83,3 +83,7 @@ on property:sys.boot_completed=1 # it should be written by the system init. on property:ro.boot.hardware.sku=GQ57S 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} diff --git a/conf/init.tokay.rc b/conf/init.tokay.rc index f0626726..99963f92 100644 --- a/conf/init.tokay.rc +++ b/conf/init.tokay.rc @@ -81,3 +81,7 @@ on fs # it should be written by the system init. on property:ro.boot.hardware.sku=G1B60 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}