修复蓝牙动画可能卡死问题 #616
authorhcj <1224667075@qq.com>
Wed, 25 Sep 2024 03:43:16 +0000 (11:43 +0800)
committerhcj <1224667075@qq.com>
Wed, 25 Sep 2024 03:43:16 +0000 (11:43 +0800)
code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/BluetoothServiceOptionsView.cpp

index 15f937d..ec7f598 100644 (file)
@@ -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;