From: xue <2144439972@qq.com> Date: Sat, 31 Jan 2026 02:11:37 +0000 (+0800) Subject: 蓝牙解绑弹窗重复 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=1339927285b7ecaba6704770979f221602567a88;p=mirrors%2FFD230.git 蓝牙解绑弹窗重复 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp index 57b68da9b..f9254d999 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/bluetooth/src/BluetoothModel.cpp @@ -985,20 +985,20 @@ static void ACLConnectionFail(const bd_addr_t &bdAddr, bool isPeerDisconnect = f BluetoothModel::GetInstance()->UnBindRemoteDevice(macStr); } - //亮屏操作 - uapi_set_screen_on_api(); + // //亮屏操作 + // uapi_set_screen_on_api(); - ThunderBirdMainView *thunderBirdMainView = ThunderBirdMainView::GetInstance(); - if (thunderBirdMainView == nullptr) - { - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "thunderBirdMainView nullptr"); - return; - } - int currentView = thunderBirdMainView->GetCurrentView(); - thunderBirdMainView->ChangeView( - currentView, - THUNDERBIRD_BLUEVIEW, - ThunderBirdBlueView::THUNDERBIRD_BULEVIEW_DISCONNECT_SUCCESS); + // ThunderBirdMainView *thunderBirdMainView = ThunderBirdMainView::GetInstance(); + // if (thunderBirdMainView == nullptr) + // { + // WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "thunderBirdMainView nullptr"); + // return; + // } + // int currentView = thunderBirdMainView->GetCurrentView(); + // thunderBirdMainView->ChangeView( + // currentView, + // THUNDERBIRD_BLUEVIEW, + // ThunderBirdBlueView::THUNDERBIRD_BULEVIEW_DISCONNECT_SUCCESS); } } void BluetoothModel::BtGapAclStateChangedHandle(gap_acl_state_t state, unsigned int reason, const bd_addr_t &bdAddr)