From: hcj <1224667075@qq.com> Date: Wed, 25 Sep 2024 03:43:16 +0000 (+0800) Subject: 修复蓝牙动画可能卡死问题 #616 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=d929a610783ecad7fbc31b8e09549d5303800802;p=mirrors%2FFD230.git 修复蓝牙动画可能卡死问题 #616 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/BluetoothServiceOptionsView.cpp b/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/BluetoothServiceOptionsView.cpp index 15f937d01..ec7f598f6 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/BluetoothServiceOptionsView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/BluetoothServiceOptionsView.cpp @@ -108,28 +108,28 @@ namespace OHOS case BluetoothServiceOptionsView::CONNECT_HFP: if(uapi_hfp_connect_state()) { - BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); + //BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); connect_state=true; } break; case BluetoothServiceOptionsView::DISCONNECT_HFP: if(!uapi_hfp_connect_state()) { - BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); + //BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); connect_state=true; } break; case BluetoothServiceOptionsView::CONNECT_A2DP: if(uapi_a2dp_snk_get_device_connect_state()) { - BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); + //BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); connect_state=true; } break; case BluetoothServiceOptionsView::DISCONNECT_A2DP: if(!uapi_a2dp_snk_get_device_connect_state()) { - BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); + //BluetoothServiceOptionsView::GetInstance()->show_connecting_view(false); connect_state=true; } break;