[Bugfix][T106][bug-view-1951][codec] es8389 Calling without sound - Call in 2/3G
Only Configure:No
Affected branch:master
Affected module:audio
Is it affected on both ZXIC and MTK:only ZXIC
Self-test:Yes
Doc Update:no
Change-Id: I5a956a00051e2c77385482ff8902637e1524a861
diff --git a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c
index 430fed6..ed500f2 100755
--- a/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c
+++ b/cap/zx297520v3/zxic_code/zxic_source/zxic_app_open/sdk/ril/reference-ril/ril_cc.c
@@ -224,16 +224,25 @@
static int cc_voice_open_api(int onoff, int mode)
{
if (1 == onoff) {
+ #if 0//xf.li@20250812 add for bug-view-1951,es8389 call in 2/3G
if (0 != alsa_voice_open(mode)) {
RLOGE("cc_voice_open_api cap alsa_voice_open TEAK_2G_3G fail\n");
return -1;
}
-
+ #endif//xf.li@20250812 add for bug-view-1951,es8389 call in 2/3G
if (0 != sc_audio_ap_alsa_voice_open(mode)) {
alsa_voice_close(mode);
RLOGE("cc_voice_open_api ap alsa_voice_open TEAK_2G_3G fail\n");
return -1;
}
+ //xf.li@20250812 add for bug-view-1951,es8389 call in 2/3G start
+ #if 1
+ if (0 != alsa_voice_open(mode)) {
+ RLOGE("cc_voice_open_api cap alsa_voice_open TEAK_2G_3G fail\n");
+ return -1;
+ }
+ #endif
+ //xf.li@20250812 add for bug-view-1951,es8389 call in 2/3G end
} else {
if (0 != sc_audio_ap_alsa_voice_close(mode)) {
RLOGE("cc_voice_open_api sc_audio_ap_alsa_voice_close fail.\n");