From: hcj <1224667075@qq.com> Date: Tue, 6 Jan 2026 13:13:45 +0000 (+0800) Subject: 增加延迟销毁通路 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=115a769a982ecd386adff2963fa98ce68167245b;p=mirrors%2FFD230.git 增加延迟销毁通路 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp index 565b2711b..758ef4478 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp @@ -1194,6 +1194,7 @@ static void A2dpSrcConnectstateChanged(bd_addr_t *bdAddr, int connState) if(AI_IsVoiceServiceRunning()){ ln_ws_audio_deinit(); + LOS_Msleep(100);//增加延时确保销毁彻底 } PhoneAudioManagerSetDeviceConnState(OUT_BLUETOOTH_A2DP, AUDIO_DEVICE_DISCONNECTED);