From: dxy <1731678236@qq.com> Date: Sat, 13 Apr 2024 06:25:55 +0000 (+0800) Subject: 蓝牙开关界面暂时屏蔽开关蓝牙服务 X-Git-Tag: release_V1.2.70_20241020_135402~1199^2~2 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=fa936544eff903b0455e4cf942a0caa27f44ead7;p=mirrors%2FFD230.git 蓝牙开关界面暂时屏蔽开关蓝牙服务 --- 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 fafb264c4..5853092a9 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/classicbluetooth/src/ClassicBlueToothPresenter.cpp @@ -122,13 +122,13 @@ namespace OHOS case UICheckBox::SELECTED: WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BlueTooth Capability Is Enabled"); #ifdef SUPPORT_BLE_SERVICE - openBle();//主动开启蓝牙 + // openBle();//主动开启蓝牙 #endif break; case UICheckBox::UNSELECTED: WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "BlueTooth Capability Is Disabled"); #ifdef SUPPORT_BLE_SERVICE - closeBle(); + // closeBle(); #endif break; default: