* @Author: luozheng 1732036298@qq.com
* @Date: 2024-03-27 10:47:46
* @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-31 16:40:57
+ * @LastEditTime: 2024-08-31 17:31:35
* @FilePath: /FD230/code/sdk/application/wearable/fd230app/nativeui/findphone/src/FindPhoneView.cpp
*/
#include "findphone/include/FindPhoneView.h"
{
View<FindPhonePresenter>::OnStart();
- if (FindPhoneModel::GetInstance().GetBlueToothConnectedState() == true) // 判断蓝牙是否是连接状态
- {
- FindPhoneViewInit_BlueToothConnected();
- senfindphoneSend(FINDPHONE_START);
- }
- else
- {
- FindPhoneViewInit_BlueToothDisConnected();
- }
+ // if (FindPhoneModel::GetInstance().GetBlueToothConnectedState() == true) // 判断蓝牙是否是连接状态
+ // {
+ // FindPhoneViewInit_BlueToothConnected();
+ // senfindphoneSend(FINDPHONE_START);
+ // }
+ // else
+ // {
+ // FindPhoneViewInit_BlueToothDisConnected();
+ // }
+
+ FindPhoneViewInit_BlueToothConnected();
+ senfindphoneSend(FINDPHONE_START);
FindPhoneGroupView->SetTouchable(true);
FindPhoneGroupView->SetDraggable(true);