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)