From c8b3fad380ca216d3ef51e326e7c30d680cc728d Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Tue, 26 Mar 2024 19:55:13 +0800 Subject: [PATCH] =?utf8?q?=E5=8F=96=E6=B6=88=E8=93=9D=E7=89=99=E4=BF=AE?= =?utf8?q?=E6=94=B9=E5=9C=B0=E5=9D=80=E6=B5=8B=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../classicbluetooth/src/ClassicBlueToothPresenter.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothPresenter.cpp index 8ff7b9374..209404c63 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothPresenter.cpp @@ -121,16 +121,12 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BlueTooth Capability Is Enabled"); #ifdef SUPPORT_BLE_SERVICE openBle();//主动开启蓝牙 - #else - init_btaddr_btname(); #endif break; case UICheckBox::UNSELECTED: WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BlueTooth Capability Is Disabled"); #ifdef SUPPORT_BLE_SERVICE closeBle(); - #else - disable_bt_service(); #endif break; default: -- 2.17.1