A2DP断连修改
authorhcj <1224667075@qq.com>
Thu, 31 Oct 2024 10:25:36 +0000 (18:25 +0800)
committerhcj <1224667075@qq.com>
Thu, 31 Oct 2024 10:25:36 +0000 (18:25 +0800)
code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/BluetoothServiceOptionsPresenter.cpp

index 5159016..14a7e76 100644 (file)
@@ -114,7 +114,7 @@ namespace OHOS
 
                         ConfigModel::GetInstance()->SetA2DPState(false);
                         uapi_a2dp_snk_disconnect();
-                        classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_HFP);
+                        classicBlueToothView->init_connect_timer(BluetoothServiceOptionsView::DISCONNECT_A2DP);
                         // uapi_hfp_disconnect();
                     //uapi_disconnect_remote_device();
                         // errcode_t ret = gap_ble_set_ctkd_enable(false);